mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs: adjust static resource path
This commit is contained in:
parent
4db9449f74
commit
d8acec1671
@ -1,8 +1,4 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
vant-cli build-site
|
vant-cli build-site
|
||||||
|
|
||||||
superman-cdn /vant ./site/*.js
|
|
||||||
|
|
||||||
rm -rf site/*.js
|
|
||||||
|
|
||||||
gh-pages -d site --add
|
gh-pages -d site --add
|
||||||
|
@ -3,7 +3,7 @@ module.exports = {
|
|||||||
build: {
|
build: {
|
||||||
skipInstall: ['lazyload'],
|
skipInstall: ['lazyload'],
|
||||||
site: {
|
site: {
|
||||||
publicPath: process.env.PUBLIC_PATH || 'https://b.yzcdn.cn/vant/',
|
publicPath: process.env.PUBLIC_PATH || '/vant/',
|
||||||
},
|
},
|
||||||
vetur: {
|
vetur: {
|
||||||
tagPrefix: 'van-',
|
tagPrefix: 'van-',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user