docs: adjust v4 site deploy config (#11316)

This commit is contained in:
neverland
2022-11-26 22:54:23 +08:00
committed by GitHub
parent 13512ca25b
commit 7858537434
3 changed files with 4 additions and 7 deletions
-3
View File
@@ -8,9 +8,6 @@
"typings": "lib/index.d.ts",
"unpkg": "lib/vant.min.js",
"jsdelivr": "lib/vant.min.js",
"npm": {
"tag": "next"
},
"files": [
"es",
"lib"
+1 -2
View File
@@ -11,8 +11,7 @@ export default {
},
site: {
publicPath:
(typeof window === 'undefined' && process.env.PUBLIC_PATH) ||
'/vant/v4',
(typeof window === 'undefined' && process.env.PUBLIC_PATH) || '/vant/',
},
vetur: {
tagPrefix: 'van-',