Skip to content
This repository was archived by the owner on Apr 1, 2022. It is now read-only.

Commit 2aa6991

Browse files
author
Ken Berkeley
committed
[fix] broken links in doc, rebuild the examples
1 parent 0727a46 commit 2aa6991

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

doc/en/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Datatable from 'vue2-datatable-component'
1111
Vue.use(Datatable) // done!
1212
```
1313

14-
Let's roll up with the basic example (source: [`examples/src/Basic/index.vue`](https://github.com/OneWayTech/vue2-datatable/blob/master/examples/src/Basic/index.vue), demo: [examples#basic](https://OneWayTech.github.io/vue2-datatable/examples/dist))
14+
Let's roll up with the basic example (source: [`examples/src/Basic/index.vue`](https://github.com/OneWayTech/vue2-datatable/blob/master/examples/src/Basic/index.vue), demo: [examples#basic](https://OneWayTech.github.io/vue2-datatable/examples/dist#basic))
1515

1616
```html
1717
<template>

doc/en/i18n.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Wow, it's just a normal object!
3939

4040
## ⊙ Magic
4141

42-
Copy and paste from [`index.js`](https://github.com/OneWayTech/vue2-datatable/blob/master/index.js):
42+
Copy and paste from [`src/index.js`](https://github.com/OneWayTech/vue2-datatable/blob/master/src/index.js):
4343

4444
```js
4545
module.exports = {

doc/zh-cn/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Datatable from 'vue2-datatable-component'
1111
Vue.use(Datatable) // done!
1212
```
1313

14-
我们以基本例子 [`examples/src/Basic/index.vue`](https://github.com/OneWayTech/vue2-datatable/blob/master/examples/src/Basic/index.vue) 为例,效果见 [examples#basic](https://OneWayTech.github.io/vue2-datatable/examples/dist)
14+
我们以基本例子 [`examples/src/Basic/index.vue`](https://github.com/OneWayTech/vue2-datatable/blob/master/examples/src/Basic/index.vue) 为例,效果见 [examples#basic](https://OneWayTech.github.io/vue2-datatable/examples/dist#basic)
1515

1616
```html
1717
<template>

doc/zh-cn/i18n.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939

4040
## ⊙ 原理
4141

42-
本组件采用的是最简单的方案(见 [`index.js`](https://github.com/OneWayTech/vue2-datatable/blob/master/index.js)):
42+
本组件采用的是最简单的方案(见 [`src/index.js`](https://github.com/OneWayTech/vue2-datatable/blob/master/src/index.js)):
4343

4444
```js
4545
module.exports = {

examples/dist/client.193012c0.js renamed to examples/dist/client.f19edc83.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212

1313
<script src="//cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>
1414
<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
15-
<script type="text/javascript" src="client.193012c0.js"></script></body>
15+
<script type="text/javascript" src="client.f19edc83.js"></script></body>
1616
</html>

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
],
1313
"scripts": {
1414
"start": "vue build --config build/examples.js",
15+
"build": "npm run build:examples && npm run build:lib",
1516
"build:examples": "vue build --config build/examples.js --prod",
1617
"build:lib": "vue build --config build/lib.js --prod",
1718
"doc": "docsify serve doc"

0 commit comments

Comments
 (0)