Replies: 3 comments 2 replies
-
It took me 3 hours to convert my SvelteKit app into a Svelte SPA, including the following:
That is, it took me 3 hours to do with vanilla Svelte what I failed to do in 28 hours with SvelteKit. I may convert back to SvelteKit in a few months if you can provide better guidance. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Would providing an official monorepo template solve these problems? The template would need to make it easy to the following:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Svelties (what do we call ourselves?),
I found vanilla Svelte to be enjoyable and easy to learn, having already implemented an Electron app with Svelte, but I'm ready to ditch SvelteKit to go with an SPA website.
SvelteKit works fine out of the box, but I struggled with the following:
create-svelte
#4423."type": "module"
be inpackage.json
seemed to be the underlying problem. I probably put half a day into trying to figure this out. @dominikg suggested a few ways to deal with this in discussion Ability to build CLI in svelte-kit package despite "type":"module" #4534, but read on...I suspect that none of these reflect problems with SvelteKit itself, but they do suggest that the "Svelte is for newbies" (like Virginia is for lovers?) marketing does not translate to SvelteKit. If you want to make SvelteKit accessible to newbies, it may be necessary to either compile a list of especially helpful articles or else add best practices to the SvelteKit docs.
Mind you, I've written several express/handlebars websites over the years (even in TypeScript), so I'm not a complete web newbie. And I've been programming professionally for 35 years (mostly Java/C/C++), so I'm by no means a newbie developer. I do find the base knowledge needed for serious web development a bit mindboggling, though.
Beta Was this translation helpful? Give feedback.
All reactions