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

Why does it need to be a template only project, why not a full CLI? #37

Closed
fenilli opened this issue Mar 28, 2021 · 4 comments
Closed

Comments

@fenilli
Copy link

fenilli commented Mar 28, 2021

I was going to start a new component using svelte for a nice change of scenery, but after trying to set up, eslint + typescript + tailwind and so on, its just not worth it, time is money as many people say.

I understand that the template is more like to be a bare minimum to run svelte and so any developer can use any tool they want, but we all know that the bare minimum is never a thing.

Why not follow the vue way in this one, making a cli where you just need to click if you want or not some features, makes it easier for people to start using svelte without looking for 100 websites to find out that none of those actually work or are easy to set up.

@dummdidumm
Copy link
Member

We are working an setup CLI for SvelteKit which will become the recommended way to build apps/sites with Svelte. You can run npm init svelte@next in an empty project folder to see it in action. There's also the svelte adders community project to add more on top after the setup. Supporting all possible use cases is cumbersome though. Luckily, there are many starter templates out there, one of them could provide you the setup you want.

@fenilli
Copy link
Author

fenilli commented Mar 28, 2021

Thank you I will check SvelteKit out, there is also no need to add all possible use cases, just the most used ones.

@nileshtrivedi
Copy link

@dummdidumm Sometimes, I don't want to build a new app or site. I just want to generate web components and either add them to an existing non-NPM app (Django, Rails, Phoenix etc) or publish them as standalone JS files to be used by others as libraries. A minimal CLI that takes a .svelte file and produces a .js file would be quite useful, actually.

@ignatiusmb
Copy link
Member

You can think of svelte-kit package as the minimal CLI, we're also planning to add the compiled version of the output, it's tracked in sveltejs/kit#2572, so please chime in there with your use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants