mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs: adjust v4 site deploy config (#11316)
This commit is contained in:
parent
13512ca25b
commit
7858537434
5
.github/workflows/deploy-v4-site.yml
vendored
5
.github/workflows/deploy-v4-site.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: packages/vant/site-dist
|
||||
target-folder: v4
|
||||
clean: false
|
||||
|
||||
- name: Deploy for GitHub 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.0
|
||||
@ -45,4 +45,5 @@ jobs:
|
||||
folder: packages/vant/site-dist
|
||||
token: ${{ secrets.VANT_UI_TOKEN }}
|
||||
repository-name: vant-ui/vant-ui.github.io
|
||||
target-folder: vant/v4
|
||||
target-folder: vant
|
||||
clean: false
|
||||
|
@ -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-',
|
||||
|
Loading…
x
Reference in New Issue
Block a user