Skip to content

Commit 34c9dde

Browse files
committed
feat(plugin): charts
1 parent ccfe9e0 commit 34c9dde

File tree

16 files changed

+1229
-97
lines changed

16 files changed

+1229
-97
lines changed

package-lock.json

Lines changed: 235 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"test:unit": "vue-cli-service test:unit"
1414
},
1515
"dependencies": {
16+
"@antv/g2plot": "^0.11.35",
1617
"@babel/polyfill": "^7.4.4",
1718
"@tinymce/tinymce-vue": "^2.0.0",
1819
"axios": "~0.18.0",

public/iconfont.css

Lines changed: 100 additions & 92 deletions
Large diffs are not rendered by default.

public/iconfont1.css

Lines changed: 209 additions & 0 deletions
Large diffs are not rendered by default.

src/config/stage/plugins.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// 本文件是自动生成, 请勿修改
2+
import Charts from '@/plugins/Charts/stage-config'
23
import LinCmsUi from '@/plugins/LinCmsUi/stage-config'
34
import custom from '@/plugins/custom/stage-config'
45

5-
const pluginsConfig = [LinCmsUi, custom]
6+
const pluginsConfig = [Charts, LinCmsUi, custom]
67

78
export default pluginsConfig

src/plugins/Charts/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# 插件名: antv charts demo(Charts)
2+
3+
插件描述, antv charts demo 用于处于xxx业务场景, 提供了xxx功能
4+
5+
## 舞台视口列表
6+
7+
### TestView
8+
9+
地址: `/Charts/test.vue`
10+
显示xxx内容, 可进行xxx操作
11+
12+
## 自由视口列表
13+
14+
### Test
15+
16+
属性:
17+
18+
| Require | Name | Type | Default | Desc |
19+
|:-------:|:----:|:------:|:-------:|:----:|
20+
| true | name | String | val | 描述 |
21+
22+
事件:
23+
24+
| Name | Argument | Desc |
25+
|:----:|:------------:|:----:|
26+
| name | 事件参数描述 | 描述 |
27+
28+
方法:
29+
30+
| Name | Argument | Result | Desc |
31+
|:----:|:------------:|:----------:|:----:|
32+
| name | 方法参数描述 | 返回值描述 | 描述 |
6.34 KB
Loading

0 commit comments

Comments
 (0)