This project build for Vue3, Vue-router, Vuex, ViewUIPlus and Vite.
npm install
npm run serve
npm run build
npm run build:staging
npm run preview
npm run preview:staging
- This operation will also run before git-commit.
npm run lint
npm run lint:fix
- This project exposes environment variables on
import.meta.env
object. - Different modes (development/staging/production) correspond to different environment files (.env.*).
- .env file is always included, duplicate variables are overwritten by the specific mode file (.env.*).