Answers for "create vite app"

0

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
Posted by: Guest on June-14-2021
0

create vite app

npm init vite@latest yourName
Posted by: Guest on October-20-2021

Browse Popular Code Answers by Language