package.json modify
This commit is contained in:
37
README.md
37
README.md
@@ -1,35 +1,6 @@
|
||||
# view-ui-project-vuecli
|
||||
This project build for Vue3, Vue-router, Vuex, ViewUIPlus and Vue-cli.
|
||||
## Install
|
||||
```shell
|
||||
npm install
|
||||
```
|
||||
## Run
|
||||
```shell
|
||||
npm run serve
|
||||
```
|
||||
## Build
|
||||
### Build for Production
|
||||
```shell
|
||||
npm run build
|
||||
```
|
||||
### Build for Staging
|
||||
```shell
|
||||
npm run build:staging
|
||||
```
|
||||
## Run Eslint
|
||||
### Run without Fixing
|
||||
yarn install
|
||||
|
||||
- This operation will also run before git-commit.
|
||||
```shell
|
||||
npm run lint
|
||||
```
|
||||
### Run with Fixing
|
||||
```shell
|
||||
npm run lint:fix
|
||||
```
|
||||
## .env Description
|
||||
yarn build:prod
|
||||
|
||||
yarn dev
|
||||
|
||||
- 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.*).
|
||||
|
||||
Reference in New Issue
Block a user