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 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
Original file line number Diff line number Diff line change 55# 安装
66
77``` bash
8- npm install @boyzcf/ vue3-time-line
8+ npm install vue3-time-line
99or
10- pnpm install @boyzcf/ vue3-time-line
10+ pnpm install vue3-time-line
1111or
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' })
2727app .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有时候会想在时间轴上显示一些自定义的东西,比如某个时间段显示一张图片之类的,这可以通过监听某个时间点的位置来实现。
You can’t perform that action at this time.
0 commit comments