A warning here: Your proposed file arrangement contradicts that of SvelteKit, and I would say that people will prefer SvelteKit's.
It seems that you might be talking about non-SvelteKit Svelte projects, maybe like the ones we can create using npm create vite@latest. If that's the case, I think you should be explicit about it. Still, it wouldn't hurt if you followed SvelteKit's file arrangement and use the lib folder as a starting point. This way the experience is more familiar.
Hello ,
I'm delighted to read your comment
Indeed, I'm talking about Svelte, not SvelteKit. Thank you for your comment, I'll take it into account and don't hesitate if you have any other comments.
Have a nice day!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
A warning here: Your proposed file arrangement contradicts that of SvelteKit, and I would say that people will prefer SvelteKit's.
It seems that you might be talking about non-SvelteKit Svelte projects, maybe like the ones we can create using
npm create vite@latest. If that's the case, I think you should be explicit about it. Still, it wouldn't hurt if you followed SvelteKit's file arrangement and use thelibfolder as a starting point. This way the experience is more familiar.Just my $0.02. Cheers.
Hello ,
I'm delighted to read your comment
Indeed, I'm talking about Svelte, not SvelteKit. Thank you for your comment, I'll take it into account and don't hesitate if you have any other comments.
Have a nice day!