Skip to content

Commit fde8103

Browse files
committed
master: Fixed
1 parent 9e2f822 commit fde8103

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: pnpm install
3737

3838
- name: Run Build Script
39-
run: pnpm build
39+
run: pnpm build:demo
4040

4141
- name: Upload artifact
4242
uses: actions/upload-pages-artifact@v3

README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
# 安装
66

77
```bash
8-
npm install @boyzcf/vue3-time-line
8+
npm install vue3-time-line
99
or
10-
pnpm install @boyzcf/vue3-time-line
10+
pnpm install vue3-time-line
1111
or
12-
yarn add @boyzcf/vue3-time-line
12+
yarn add vue3-time-line
1313
```
1414

1515
# 全局引入
@@ -27,15 +27,6 @@ app.use(TimeLine, { comName: 'TimeLine' })
2727
app.mount('#app')
2828
```
2929

30-
# 局部引入
31-
32-
```js
33-
// demo.vue
34-
35-
import { TimeLineCom } from 'time-line'
36-
37-
```
38-
3930
# 基础用法
4031

4132
<details>
@@ -314,7 +305,6 @@ onBeforeUnmount(() => {
314305
</code></pre>
315306
</details>
316307

317-
318308
# 显示自定义元素
319309

320310
有时候会想在时间轴上显示一些自定义的东西,比如某个时间段显示一张图片之类的,这可以通过监听某个时间点的位置来实现。

0 commit comments

Comments
 (0)