Update: documents and Makefile

This commit is contained in:
2021-11-22 17:45:55 +08:00
parent e3de41fe07
commit e485d1a8c5
2 changed files with 14 additions and 21 deletions

View File

@@ -1,10 +1,6 @@
dist:
mkdir -p dist
minify web/index.js web/*.html web/*.css -o dist/
cp -rf web/*.png dist/web/
cp -f web/axios.min.js dist/web/axios.min.js
cp -f web/vue.global.prod.js dist/web/vue.js
cp -f web/vue-router.global.prod.js dist/web/vue-router.js
cd web && npm install
cd web && npm run build
linux:
go build