create vite app
## Bootstrap installer
# npm 7+,
npm init @vitejs/app
# yarn
yarn create @vitejs/app
## Using Templates
# npm 6.x
npm init @vitejs/app my-app --template <Template>
# npm 7+, extra double-dash is needed:
npm init @vitejs/app my-app -- --template <Template>
# yarn
yarn create @vitejs/app my-app --template
Supported template presets include:
vanilla
vanilla-ts
vue
vue-ts
react
react-ts
preact
preact-ts
lit-element
lit-element-ts
svelte
svelte-ts