env variables usage, more form elements

This commit is contained in:
scammo
2021-06-14 15:02:53 +02:00
parent 7a616b5083
commit 897f0390ec
4 changed files with 81 additions and 19 deletions

View File

@ -9,12 +9,12 @@ npm install
### Compiles and hot-reloads for development
```
npm run serve
VUE_APP_API_URL=localhost:8000 npm run serve
```
### Compiles and minifies for production
```
npm run build
VUE_APP_API_URL=localhost:8000 npm run build
```
### Lints and fixes files
@ -25,4 +25,7 @@ npm run lint
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
Vorraussetzung: Node & NPM
Vorraussetzung: Node & NPM
### Enviroment Variable
VUE_APP_API_URL ist die Enviroment Variable mit der die Adresse der API übergeben wird