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

Template for Svelte? #2209

Closed
djyde opened this issue Feb 24, 2021 · 5 comments
Closed

Template for Svelte? #2209

djyde opened this issue Feb 24, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@djyde
Copy link

djyde commented Feb 24, 2021

I found that there is no template for Svelte in create-app. It is because no one contributes yet or another reason? I am willing to contribute one if needed.

@CHOYSEN
Copy link
Contributor

CHOYSEN commented Feb 24, 2021

See #2106 (comment)

@patak-dev
Copy link
Member

I think that a svelte and svelte-ts template will eventually be added as it is at the same level as other frameworks. My understanding is that there is ongoing work for a plugin from people close to the team though, so it will be added once there are clear guidelines to what should be used. @djyde if you have a template already created, it would be useful to share it with others in the #svelte channel at https://chat.vitejs.dev/

@patak-dev patak-dev added the enhancement New feature or request label Feb 24, 2021
@yyx990803
Copy link
Member

Svelte requires dedicated plugin/HMR handling. AFAIK there are Svelte team members working on Svelte integrations which is why I didn't make one myself. I expect they should PR it at some point once they feel it's ready.

/cc @benmccann

@benmccann
Copy link
Collaborator

I expect we'll have something to share in the next week or two

@benmccann
Copy link
Collaborator

SvelteKit is the official way to build Svelte apps and is built on Vite 2. It's not quite in beta yet. PRs are pending with Vite to add Windows support and TypeScript support for SvelteKit. Docs are not yet published, but are available in the repo. It uses a vite-plugin-svelte that could also be used with Vite without SvelteKit if desired

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants