Go to file
2021-06-28 14:50:34 +02:00
public router, auth, edit, first autocomplete, bascis structure, no design 2021-06-25 19:28:41 +02:00
src router, auth, edit, first autocomplete, bascis structure, no design 2021-06-25 19:28:41 +02:00
.browserslistrc init 2021-05-31 16:14:28 +02:00
.dockerignore add Dockerfile 2021-06-14 22:27:23 +02:00
.eslintrc.js init 2021-05-31 16:14:28 +02:00
.gitignore init 2021-05-31 16:14:28 +02:00
babel.config.js init 2021-05-31 16:14:28 +02:00
Dockerfile add Dockerfile 2021-06-14 22:27:23 +02:00
package-lock.json Update package-lock.json 2021-06-26 20:52:09 +02:00
package.json kickoff 2021-06-07 17:41:25 +02:00
README.md „README.md“ ändern 2021-06-28 14:50:34 +02:00

ki-frontend

Vue3 Projekt:

Project setup

npm ci

Compiles and hot-reloads for development

VUE_APP_API_URL=https://localhost:8000 npm run serve

Compiles and minifies for production

VUE_APP_API_URL=https://localhost:8000 npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Vorraussetzung: Node & NPM

Enviroment Variable

VUE_APP_API_URL ist die Enviroment Variable mit der die Adresse der API übergeben wird

Docker

Image bauen

docker build --tag ki_frontend .

Container starten

docker run \
    --name=ki_frontend \
    -e VUE_APP_API_URL=http://localhost:5000 \
    -p 8000:80 \
    ki_frontend