fl-web-component 1.0.9 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,35 +1,46 @@
1
1
  # fl-web-component
2
2
 
3
- ## Project setup
4
- ```
5
- yarn install
6
- ```
3
+ Vue 2.0 3D/2D 可视化组件库
7
4
 
8
- ### Compiles and hot-reloads for development
9
- ```
10
- yarn serve
11
- ```
5
+ ## 功能特性
12
6
 
13
- ### Compiles and minifies for production
14
- ```
15
- yarn build
16
- ```
7
+ - 基于 Three.js 3D 模型展示组件
8
+ - 基于 Konva 的 2D 图纸渲染组件
9
+ - 基于 Element UI 封装的若干组件
10
+
11
+ ## 安装
17
12
 
18
- ### Lints and fixes files
13
+ ```bash
14
+ npm install fl-web-component
19
15
  ```
20
- yarn lint
16
+ ## 快速开始
21
17
  ```
18
+ import Vue from 'vue'
19
+ import FlWebComponent from 'fl-web-component' // 引入组件库
20
+ import 'fl-web-component/dist/fl-web-component.css' // 引入组件库样式
21
+
22
+ Vue.use(FlWebComponent)
23
+
24
+ // 3D模型组件
25
+ <fl-model/>
22
26
 
23
- ### Customize configuration
24
- See [Configuration Reference](https://cli.vuejs.org/config/).
27
+ // 2D图纸组件
28
+ <Fl2dcanvas :dxfData="dxfContent"/>
29
+ ```
30
+ ## 组件列表
31
+ | 组件 | 说明 |
32
+ |------|------|
33
+ | com-flcanvas | 2D图纸渲染组件 |
34
+ | com-graphics | 3D模型容器 |
35
+ | com-page | 分页组件 |
36
+ | com-table | 增强表格组件 |
37
+ | com-dialogWrapper | 弹窗封装组件 |
38
+ | com-formDialog | 表单对话框组件 |
39
+ | com-xxx |
40
+ 持续完善中
25
41
 
26
- ## web
27
- ## components 里面存放项目中用到的所有组件轮子,
28
- ## 文件格式如下
29
- ## components
30
- ## com-xxx // 组件名称
31
- ## component // 组件所用到子组件文件夹
32
- ## components-XXX.vue // 用到的子组件
33
- ## index.vue // 主要输出组件
34
- ## com-xxx.js // 组件所要使用的js文件
42
+ ## 文档
43
+ 详细业务API文档、公共组件开发流程请联系前端开发人员
35
44
 
45
+ ## 贡献
46
+ 欢迎贡献代码和问题反馈。