1
0
Fork 0

refactor(webui): use @vue/cli to bootstrap new ui

This commit is contained in:
Antoine Caron 2019-07-15 10:58:03 +02:00 committed by Traefiker Bot
parent 093658836e
commit 1bccbf061b
47 changed files with 5851 additions and 4291 deletions

View file

@ -58,7 +58,7 @@ build-webui-image:
generate-webui: build-webui-image
if [ ! -d "static" ]; then \
mkdir -p static; \
docker run --rm -v "$$PWD/static":'/src/static' traefik-webui npm run build; \
docker run --rm -v "$$PWD/static":'/src/static' traefik-webui npm run build:nc; \
docker run --rm -v "$$PWD/static":'/src/static' traefik-webui chown -R $(shell id -u):$(shell id -g) ../static; \
echo 'For more informations show `webui/readme.md`' > $$PWD/static/DONT-EDIT-FILES-IN-THIS-DIRECTORY.md; \
fi