mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: update release site sh
This commit is contained in:
parent
2dba8c9455
commit
648d301fbd
2
.gitignore
vendored
2
.gitignore
vendored
@ -12,7 +12,7 @@ package-lock.json
|
|||||||
es
|
es
|
||||||
lib
|
lib
|
||||||
dist
|
dist
|
||||||
./site
|
/site
|
||||||
changelog.generated.md
|
changelog.generated.md
|
||||||
test/coverage
|
test/coverage
|
||||||
vetur
|
vetur
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
rm -rf docs/dist
|
|
||||||
|
|
||||||
vant-cli build-site
|
vant-cli build-site
|
||||||
|
|
||||||
superman-cdn /vant ./docs/dist/*.js
|
superman-cdn /vant ./site/*.js
|
||||||
|
|
||||||
rm -rf docs/dist/*.js
|
rm -rf site/*.js
|
||||||
|
|
||||||
gh-pages -d docs/dist --add
|
gh-pages -d site --add
|
||||||
|
@ -3,7 +3,7 @@ module.exports = {
|
|||||||
build: {
|
build: {
|
||||||
skipInstall: ['lazyload'],
|
skipInstall: ['lazyload'],
|
||||||
site: {
|
site: {
|
||||||
publicPath: 'vant/'
|
publicPath: '/vant/'
|
||||||
},
|
},
|
||||||
vetur: {
|
vetur: {
|
||||||
tagPrefix: 'van-'
|
tagPrefix: 'van-'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user