chore: add surge preview action (#7042)

https://github.com/marketplace/actions/surge-pr-preview
This commit is contained in:
偏右
2020-08-25 08:10:30 +08:00
committed by GitHub
parent e56615af48
commit 65ec6d64e7
2 changed files with 20 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ module.exports = {
build: {
skipInstall: ['lazyload'],
site: {
publicPath: 'https://b.yzcdn.cn/vant/',
publicPath: process.env.PUBLIC_PATH || 'https://b.yzcdn.cn/vant/',
},
vetur: {
tagPrefix: 'van-',