|
2 年之前 | |
---|---|---|
.husky | 2 年之前 | |
public | 2 年之前 | |
src | 2 年之前 | |
.env | 2 年之前 | |
.env.development | 2 年之前 | |
.env.production | 2 年之前 | |
.env.staging | 2 年之前 | |
.eslintignore | 2 年之前 | |
.eslintrc.json | 2 年之前 | |
.gitignore | 2 年之前 | |
Dockerfile | 2 年之前 | |
README.md | 2 年之前 | |
babel.config.js | 2 年之前 | |
jsconfig.json | 2 年之前 | |
nginx.conf | 2 年之前 | |
package-lock.json | 2 年之前 | |
package.json | 2 年之前 | |
vue.config.js | 2 年之前 |
This project build for Vue3, Vue-router, Vuex, ViewUIPlus and Vue-cli.
npm install
npm run serve
npm run build
npm run build:staging
This operation will also run before git-commit.
npm run lint
npm run lint:fix
This project exposes environment variables on process.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.*).