File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 36
36
run : pnpm install
37
37
38
38
- name : Run Build Script
39
- run : pnpm build
39
+ run : pnpm build:demo
40
40
41
41
- name : Upload artifact
42
42
uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change 5
5
# 安装
6
6
7
7
``` bash
8
- npm install @boyzcf/ vue3-time-line
8
+ npm install vue3-time-line
9
9
or
10
- pnpm install @boyzcf/ vue3-time-line
10
+ pnpm install vue3-time-line
11
11
or
12
- yarn add @boyzcf/ vue3-time-line
12
+ yarn add vue3-time-line
13
13
```
14
14
15
15
# 全局引入
@@ -27,15 +27,6 @@ app.use(TimeLine, { comName: 'TimeLine' })
27
27
app .mount (' #app' )
28
28
```
29
29
30
- # 局部引入
31
-
32
- ``` js
33
- // demo.vue
34
-
35
- import { TimeLineCom } from ' time-line'
36
-
37
- ```
38
-
39
30
# 基础用法
40
31
41
32
<details >
@@ -314,7 +305,6 @@ onBeforeUnmount(() => {
314
305
</code ></pre >
315
306
</details >
316
307
317
-
318
308
# 显示自定义元素
319
309
320
310
有时候会想在时间轴上显示一些自定义的东西,比如某个时间段显示一张图片之类的,这可以通过监听某个时间点的位置来实现。
You can’t perform that action at this time.
0 commit comments