2021-05-31 16:14:28 +02:00
|
|
|
# ki-frontend
|
|
|
|
|
2021-06-07 17:41:25 +02:00
|
|
|
|
|
|
|
Vue3 Projekt:
|
2021-05-31 16:14:28 +02:00
|
|
|
## Project setup
|
|
|
|
```
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
|
|
|
### Compiles and hot-reloads for development
|
|
|
|
```
|
2021-06-14 15:02:53 +02:00
|
|
|
VUE_APP_API_URL=localhost:8000 npm run serve
|
2021-05-31 16:14:28 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
### Compiles and minifies for production
|
|
|
|
```
|
2021-06-14 15:02:53 +02:00
|
|
|
VUE_APP_API_URL=localhost:8000 npm run build
|
2021-05-31 16:14:28 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
### Lints and fixes files
|
|
|
|
```
|
|
|
|
npm run lint
|
|
|
|
```
|
|
|
|
|
|
|
|
### Customize configuration
|
|
|
|
See [Configuration Reference](https://cli.vuejs.org/config/).
|
2021-06-07 17:41:25 +02:00
|
|
|
|
2021-06-14 15:02:53 +02:00
|
|
|
Vorraussetzung: Node & NPM
|
|
|
|
|
|
|
|
### Enviroment Variable
|
|
|
|
VUE_APP_API_URL ist die Enviroment Variable mit der die Adresse der API übergeben wird
|