2019-04-03 17:54:05 +02:00
|
|
|
# hsadmin-vue
|
|
|
|
|
|
|
|
## Project setup
|
|
|
|
```
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
|
|
|
### Compiles and hot-reloads for development
|
|
|
|
```
|
|
|
|
npm run serve
|
|
|
|
```
|
|
|
|
|
2019-04-03 18:28:50 +02:00
|
|
|
Change the port Vue binds to via the `--port` parameter.
|
|
|
|
Use the `VUE_APP_API_PORT` environment variable to point Vue to the JHipster API port.
|
|
|
|
For example, to specify both settings:
|
|
|
|
|
|
|
|
```
|
|
|
|
VUE_APP_API_PORT=45678 npm run serve -- --port=2345
|
|
|
|
```
|
|
|
|
|
2019-04-03 17:54:05 +02:00
|
|
|
### Compiles and minifies for production
|
|
|
|
```
|
|
|
|
npm run build
|
|
|
|
```
|
|
|
|
|
|
|
|
### Run your tests
|
|
|
|
```
|
|
|
|
npm run test
|
|
|
|
```
|
|
|
|
|
|
|
|
### Lints and fixes files
|
|
|
|
```
|
|
|
|
npm run lint
|
|
|
|
```
|
|
|
|
|
|
|
|
### Customize configuration
|
|
|
|
See [Configuration Reference](https://cli.vuejs.org/config/).
|