vite.org
Source code for vite.org.
Start
Environment
- node: >= 9.xx
- yarn: >= 1.3.xx
If you have not install node, you can use nvm to manage node.
If you have not install yarn, Please read yarn
git clone [email protected]:vitelabs/vite.org.git
yarn
If the node-sass is not installed correctly, you can run npm rebuild node-sass
.
Cli
npm run dev
: run local dev server, you can see result by visit:http://localhost:3000
npm run build
: build production assetsnpm run start
: start servernpm run generate
: generate static htmlnpm run p
: runnpm run build
andnpm run generate