mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 15:40:52 +00:00
docs: adjust static resource path
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
vant-cli build-site
|
||||
|
||||
superman-cdn /vant ./site/*.js
|
||||
|
||||
rm -rf site/*.js
|
||||
|
||||
gh-pages -d site --add --dest v3
|
||||
|
@@ -6,7 +6,7 @@ module.exports = {
|
||||
site: {
|
||||
publicPath:
|
||||
(typeof window === 'undefined' && process.env.PUBLIC_PATH) ||
|
||||
'https://b.yzcdn.cn/vant/',
|
||||
'/vant/v3/',
|
||||
},
|
||||
vetur: {
|
||||
tagPrefix: 'van-',
|
||||
|
Reference in New Issue
Block a user