-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
CLI: Add Stencil Integration #32768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
CLI: Add Stencil Integration #32768
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,4 +12,5 @@ export type SupportedRenderers = | |
| | 'web-components' | ||
| | 'server' | ||
| | 'solid' | ||
| | 'stencil' | ||
| | 'nuxt'; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| import { baseGenerator } from '../baseGenerator'; | ||
| import type { Generator } from '../types'; | ||
|
|
||
| const generator: Generator = async (packageManager, npmOptions, options) => { | ||
| await baseGenerator(packageManager, npmOptions, options, 'stencil', {}, 'stencil'); | ||
| }; | ||
|
|
||
| export default generator; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -153,6 +153,7 @@ There are some noteworthy items here: | |
| | Qwik | `qwik` | | ||
| | React | `react` | | ||
| | Server | `server` | | ||
| | Stencil | `stencil` | | ||
| | Solid | `solid` | | ||
| | Svelte | `svelte` | | ||
| | Vue 3 | `vue3` | | ||
|
|
@@ -289,6 +290,11 @@ There are some noteworthy items here: | |
| * [Storybook's help documentation](https://storybook.js.org/community#support) to contact the community and ask for help. | ||
| </IfRenderer> | ||
|
|
||
| <IfRenderer renderer="stencil"> | ||
| * [Storybook's Stencil README](https://github.com/stenciljs/storybook) for more information on how to set up Storybook in your Stencil project. | ||
| * [Storybook's help documentation](https://storybook.js.org/community#support) to contact the community and ask for help. | ||
| </IfRenderer> | ||
|
||
|
|
||
| <IfRenderer renderer="svelte"> | ||
| * Storybook's SvelteKit [framework documentation](./frameworks/sveltekit.mdx) for more information on how to set up Storybook in your SvelteKit project. | ||
| * Storybook's Svelte Vite [framework documentation](./frameworks/svelte-vite.mdx) for more information on how to set up Storybook in your Svelte project with Vite. | ||
|
|
@@ -310,6 +316,6 @@ There are some noteworthy items here: | |
| Now that you have successfully installed Storybook and understood how it works, let's continue where you left off in the [setup wizard](#run-the-setup-wizard) and delve deeper into writing stories. | ||
| </IfRenderer> | ||
|
|
||
| <IfRenderer renderer={['angular', 'vue', 'web-components', 'ember', 'html', 'svelte', 'preact', 'qwik', 'solid' ]}> | ||
| <IfRenderer renderer={['angular', 'vue', 'web-components', 'ember', 'html', 'svelte', 'preact', 'qwik', 'solid', 'stencil' ]}> | ||
|
||
| Now that you installed Storybook successfully, let’s take a look at a story that was written for us. | ||
| </IfRenderer> | ||
Uh oh!
There was an error while loading. Please reload this page.