Create an app powered by Vite.
$ npx create-vite-app <project-name>
$ cd <project-name>
$ npm install
$ npm run dev
If using Yarn:
$ yarn create vite-app <project-name>
$ cd <project-name>
$ yarn
$ yarn dev
Defaults to the Vue template, the other templates available are react
, preact
and reason-react
. To scaffold with alternative template:
$ npx create-vite-app --template react my-react-project