You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 years ago | |
|---|---|---|
| .husky | 4 years ago | |
| public | 4 years ago | |
| src | 4 years ago | |
| .env | 4 years ago | |
| .env.development | 4 years ago | |
| .env.production | 4 years ago | |
| .env.staging | 4 years ago | |
| .eslintignore | 4 years ago | |
| .eslintrc.json | 4 years ago | |
| .gitignore | 4 years ago | |
| README.md | 4 years ago | |
| index.html | 4 years ago | |
| package-lock.json | 4 years ago | |
| package.json | 4 years ago | |
| vite.config.js | 4 years ago | |
README.md
view-ui-project-vite
This project build for Vue3, Vue-router, Vuex, ViewUIPlus and Vite.
Install
npm install
Run
npm run serve
Build
Build for Production
npm run build
Build for Staging
npm run build:staging
Preview
Preview for Production
npm run preview
Preview for Staging
npm run preview:staging
Run Eslint
Run without Fixing
- This operation will also run before git-commit.
npm run lint
Run with Fixing
npm run lint:fix
.env Description
- This project exposes environment variables on
import.meta.envobject. - 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.*).