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

SvelteKit demo? #241

Closed
4 tasks done
oneezy opened this issue Aug 14, 2022 · 2 comments
Closed
4 tasks done

SvelteKit demo? #241

oneezy opened this issue Aug 14, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@oneezy
Copy link

oneezy commented Aug 14, 2022

Clear and concise description of the problem

The recenly added Svelte 3 demo provides a way to use Svelte with Histoire but doesn't demo SvelteKit with Histoire.

I've attempted to add Histoire to SvelteKit without success.

Suggested solution

Could you guys put a demo together based on the SvelteKit starter skeleton app?

https://kit.svelte.dev/

npm create svelte@latest my-app
cd my-app
npm install
npm run dev -- --open

Alternative

No response

Additional context

No response

Validations

@oneezy oneezy added the enhancement: to triage New feature of request pending review by team member label Aug 14, 2022
@narcisoli
Copy link

Maybe is not the best solution but this is my workaround for sveltekit:
image

@Akryum Akryum self-assigned this Aug 23, 2022
@Akryum Akryum added enhancement New feature or request and removed enhancement: to triage New feature of request pending review by team member labels Aug 23, 2022
@Akryum Akryum closed this as completed in 59f00c2 Aug 23, 2022
@oneezy
Copy link
Author

oneezy commented Dec 3, 2022

@narcisoli , does this allow you to import Sveltekit specific modules in components (i.e. $path) without breaking Histoire stories?

I created #384 to try and get this resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants