How can I integrate Histoire with SvelteKit? #273
Unanswered
0xFernandoDias
asked this question in
Q&A
Replies: 1 comment 6 replies
-
For us, it works mostly fine inside SvelteKit. I see two catches with import aliases, tho: EDIT: Thanks to Akryum we managed to get it fully working with SvelteKit You can view working Vite config example here!.
const config = {
// ...
resolve: {
alias: {
$lib: fileURLToPath(new URL('./src/lib', import.meta.url)),
},
},
// ...
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to do that?
Beta Was this translation helpful? Give feedback.
All reactions