Newer
Older
## Project setup
```shell
npm install
```
### Set environment variables
```ìni
NODE_ENV=development
BASE_PATH=/
VUE_APP_BASE_PATH=${BASE_PATH}
VUE_APP_LOCALE=fr-FR
VUE_APP_I18N_LOCALE=fr
VUE_APP_I18N_DEFAULT_LOCALE=fr
VUE_APP_I18N_FALLBACK_LOCALE=fr
VUE_APP_I18N_SUPPORTED_LOCALE=fr,en
# Favicon
VUE_APP_FAVICON_URL=${VUE_APP_DOMAIN}/assets/favicon.png
# API
VUE_APP_LOGIN_API_PATH=/fr/login
VUE_APP_ORGANISATION_API_PATH=/fr/organisation/
VUE_APP_USERGROUP_API_PATH=/fr/usergroup/
# AUTH
VUE_APP_LOGIN_API_USERNAME=admin
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
```
### Compiles and hot-reloads for development
```shell
npm run serve
```
### Compiles and minifies for production
```shell
npm run build
```
### Run your unit tests
```shell
npm run test:unit
```
### Run your end-to-end tests
```shell
npm run test:e2e
```
### Lints and fixes files
```shell
npm run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).