From 71e6cce2394600fcd5a9fb1e84fef238c459c0cb Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Mon, 8 Feb 2021 17:53:55 +0800 Subject: [PATCH] docs: adjust static resource path --- docs/site/release.sh | 4 ---- vant.config.js | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/site/release.sh b/docs/site/release.sh index 72fc0637e..efa97e760 100644 --- a/docs/site/release.sh +++ b/docs/site/release.sh @@ -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 diff --git a/vant.config.js b/vant.config.js index fcfc8a791..fafd72a3e 100644 --- a/vant.config.js +++ b/vant.config.js @@ -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-',