You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I follow the turborepo storybook guide here, https://turbo.build/repo/docs/guides/tools/storybook , and run pnpm dlx storybook@latest init , there is no option for SvelteKit provided amongst the project templates.
** Disclaimer** This information might be inaccurate, due to it being generated automatically
To add SvelteKit as an option for storybook@latest init, follow these steps:
Update Initialization Command: Modify the initialization command to include SvelteKit as a framework option. This involves updating the relevant code handling initialization commands.
Add SvelteKit Framework: Ensure the SvelteKit framework is properly set up in the .storybook/main.js or .storybook/main.ts configuration file.
Refer to the following files for implementation details:
server-errors.ts
docs/_snippets/init-command.md
docs/_snippets/sveltekit-install.md
docs/_snippets/sveltekit-add-framework.md
docs/get-started/frameworks/sveltekit.mdx
These changes will enable SvelteKit as a selectable option during the Storybook initialization process.
shilman
changed the title
[Bug]: No SvelteKit option for storybook@latest init
CLI: Add SvelteKit to storybook@latest init in empty directory
Jul 16, 2024
Describe the bug
When I follow the turborepo storybook guide here, https://turbo.build/repo/docs/guides/tools/storybook , and run
pnpm dlx storybook@latest init
, there is no option for SvelteKit provided amongst the project templates.Please add one for SvelteKit
Reproduction link
https://turbo.build/repo/docs/guides/tools/storybook
Reproduction steps
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: