Skip to content

Commit e37372a

Browse files
committed
文档完善
1 parent 92b0c61 commit e37372a

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
vue 2.x 组件库自动解析 Markdown 示例,自动构建发布到 `github-pages``npm`
44

5+
[0.x 代码](https://github.com/kitorv/vue-ui-docs/tree/v0.x)
6+
57
## 实现目标
68

79
- 自动发布
@@ -680,3 +682,11 @@ base: process.env.NODE_ENV !== "production" ? "/" : "/vue-ui-docs",
680682
8. Git 新增标签 `v1.0.0` 提交推送代码,触发自动构建
681683

682684
![Travis 自动构建](site/images/vue-travis-03.png)
685+
686+
9. `Github-Pages` 访问 [https://kitorv.github.io/vue-ui-docs](https://kitorv.github.io/vue-ui-docs)
687+
688+
![Github 示例](site/images/vue-github-02.png)
689+
690+
10. `NPM` 安装包 [https://www.npmjs.com/package/vue-ui-docs](https://www.npmjs.com/package/vue-ui-docs)
691+
692+
![NPM 安装包](site/images/vue-npm-02.png)

site/images/vue-github-02.png

122 KB
Loading

site/images/vue-npm-02.png

219 KB
Loading

site/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const routes = [
3434
];
3535

3636
const router = new VueRouter({
37-
mode: "history",
37+
mode: "hash",
3838
base: process.env.NODE_ENV !== "production" ? "/" : "/vue-ui-docs",
3939
routes
4040
});

0 commit comments

Comments
 (0)