chore: add jsdelivr env. (#64)

pull/65/head
Ryan Wang 2020-02-16 16:38:42 +08:00 committed by GitHub
parent c7d11454d1
commit 643cf5524c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

2
.env
View File

@ -1,2 +1,2 @@
NODE_ENV=production
PUBLIC_PATH=https://cdn.jsdelivr.net/npm/halo-admin@1.2.0/dist/
PUBLIC_PATH=/

2
.env.jsdelivr Normal file
View File

@ -0,0 +1,2 @@
NODE_ENV=production
PUBLIC_PATH=https://cdn.jsdelivr.net/npm/halo-admin@1.2.0/dist/

View File

@ -4,6 +4,7 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"build-jsdelivr": "vue-cli-service build --mode jsdelivr",
"lint": "vue-cli-service lint",
"test:unit": "vue-cli-service test:unit"
},