File tree 3 files changed +23
-2
lines changed
3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ npm run docs:dev
21
21
npm run build
22
22
```
23
23
24
- [ 基于ElementUi再次封装基础组件文档] ( https://wocwin.github.io/blog / )
24
+ [ 基于ElementUi再次封装基础组件文档] ( https://wocwin.github.io/t-ui / )
Original file line number Diff line number Diff line change
1
+ # 确保脚本抛出遇到的错误
2
+ set -e
3
+
4
+ # 生成静态文件
5
+ npm run docs:build
6
+
7
+ # 进入生成的文件夹
8
+ cd docs/.vuepress/dist
9
+
10
+ git init
11
+ git add -A
12
+ git commit -m ' deploy'
13
+
14
+ # 如果发布到 https://<USERNAME>.github.io/<REPO>
15
+ git push -f https://github.com/wocwin/t-ui.git master:gh-pages
16
+
17
+ # git remote add origin https://github.com/wocwin/myVuePress.git
18
+ # git push origin --delete gh-pages
19
+ # git push origin master:gh-pages
20
+
21
+ cd -
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module.exports = {
12
12
} ,
13
13
themeConfig : {
14
14
// 你的GitLab仓库,请正确填写
15
- repo : 'https://github.com/wocwin/blog ' ,
15
+ repo : 'https://wocwin. github.io/t-ui/ ' ,
16
16
// 自定义仓库链接文字。
17
17
repoLabel : 'GitHub' ,
18
18
nav : [
You can’t perform that action at this time.
0 commit comments