docs: adjust v4 site deploy config (#11316)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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-',
|
||||
|
||||
Reference in New Issue
Block a user