You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# frontend_vue
|
|
|
|
|
|
|
|
Frontend for Valency App.
|
|
|
|
|
|
|
|
## Quick build
|
|
|
|
(Docker container)
|
|
|
|
```bash
|
|
|
|
$ make dev
|
|
|
|
$ make prod
|
|
|
|
```
|
|
|
|
|
|
|
|
## Manual build
|
|
|
|
|
|
|
|
Manually edit files: `./config/config_{dev,prod}.json` to point to the right API address.
|
|
|
|
|
|
|
|
``` bash
|
|
|
|
# install dependencies
|
|
|
|
$ npm install
|
|
|
|
|
|
|
|
# serve with hot reload at localhost:8080
|
|
|
|
$ npm run dev
|
|
|
|
|
|
|
|
# build for production with minification
|
|
|
|
$ npm run build
|
|
|
|
|
|
|
|
# build for production and view the bundle analyzer report
|
|
|
|
$ npm run build --report
|
|
|
|
```
|
|
|
|
|