Use create
on an empty directory (root for your project)
npm create vite-lite
pnpm create vite-lite
yarn create vite-lite
The idea of this package is to provide Vite like Scaffolding for different Frameworks.
Please feel free to use create-vite. This lite version is meant to provide you with a leaner template.
I decided to make this package so when someone starts a project that will use Vite it comes scaffolded in a slightly different way compared to create-vite. Check the templates folder on the repository to see their structure.
This scaffolds also come with a vite.config.js
file, something that create-vite doesn't provide. It also sets different ports and few more things.
Typescripts settings follow Vite templates for the most part, with some minor changes. Please feel free to suggest changes.
Sure, open an issue we will take a look at it.
As for now it includes Vanilla, Lit, Preact, React, Solid, Svelte and Vue
- Write tests
- Manually test build process for each flavor
- Make sure scaffold is consistent across the provided frameworks
- Actually set better tsconfig.json files for every framework
- Refine which ones need tsconfig.node.json and which ones don't