milestone
This commit is contained in:
51
README.md
51
README.md
@@ -1,24 +1,35 @@
|
||||
# flagnote-web
|
||||
# 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
|
||||
|
||||
## Project setup
|
||||
- This operation will also run before git-commit.
|
||||
```shell
|
||||
npm run lint
|
||||
```
|
||||
yarn install
|
||||
### Run with Fixing
|
||||
```shell
|
||||
npm run lint:fix
|
||||
```
|
||||
## .env Description
|
||||
|
||||
### Compiles and hot-reloads for development
|
||||
```
|
||||
yarn serve
|
||||
```
|
||||
|
||||
### Compiles and minifies for production
|
||||
```
|
||||
yarn build
|
||||
```
|
||||
|
||||
### Lints and fixes files
|
||||
```
|
||||
yarn lint
|
||||
```
|
||||
|
||||
### Customize configuration
|
||||
See [Configuration Reference](https://cli.vuejs.org/config/).
|
||||
- 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