Make API port configurable and add documentation
This commit is contained in:
@@ -10,6 +10,14 @@ npm install
|
||||
npm run serve
|
||||
```
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
### Compiles and minifies for production
|
||||
```
|
||||
npm run build
|
||||
|
Reference in New Issue
Block a user