Make it more clear this is SvelteKit #5104
Replies: 4 comments 2 replies
-
SvelteKit's official description is
so yes, it's correct what it says... SvelteKit is framework to build Svelte projects. It's even planed that template ( Btw. that template also isn't just Svelte... Svelte itself is just transpiler that converts Svelte Components to JS code. But it doesn't do anything else, and it's actually rollup plugins for svelte and it's custom server that makes app. This will be in charge of SvelteKit in future. |
Beta Was this translation helpful? Give feedback.
-
converting this to a discussion as it kind of is not a bug |
Beta Was this translation helpful? Give feedback.
-
create-svelte is part of SvelteKit, so of course it is going to create a sveltekit application. when you execute it, it greets you with
Which should give everyone a good hint of what's happening. The content of svelte.dev and other relevant documentation on how to start a svelte project are going to be updated to reflect new recommendations. The rollup based sveltejs/template will no longer be recommended, it has not received updates for quite some time. If you want to start a svelte project without using sveltekit, i recommend you check out |
Beta Was this translation helpful? Give feedback.
-
I think this is a request to improve the |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Not much of a "bug" but kinda. As what I'm going to describe, results in things been not so clear and kinda confusing for users.
After using
npm init svelte
you end up with a project in which the README.md contains this among other stuffBut in reality this creates a SvelteKit project, and not just Svelte.
It would be better if running that would either actually create a simple Svelte project, or maybe make it so it's
npm init sveltekit
or any other method that makes it more clear that this is not Svelte, but SvelteKit we are getting into.npm init svelte
should be equivalent of anpx degit sveltejs/template
I believe that would make things cleaner in away and differentiate between Svelte and SvelteKit
Reproduction
npm init svelte
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions