Skip to content
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

CLI: Add SvelteKit to storybook@latest init in empty directory #28618

Open
cge-taal opened this issue Jul 16, 2024 · 1 comment
Open

CLI: Add SvelteKit to storybook@latest init in empty directory #28618

cge-taal opened this issue Jul 16, 2024 · 1 comment

Comments

@cge-taal
Copy link

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

Storybook 8.2.4

Additional context

No response

Copy link
Contributor

greptile-apps bot commented Jul 16, 2024

** 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:

  1. Update Initialization Command: Modify the initialization command to include SvelteKit as a framework option. This involves updating the relevant code handling initialization commands.

  2. 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.

References

/code/core/src/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

About Greptile

This response provides a starting point for your research, not a precise solution.

Help us improve! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

Ask Greptile · Edit Issue Bot Settings

@shilman 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants