From e9e3256bb4cdb6441420778488cc20e16b5c21af Mon Sep 17 00:00:00 2001 From: huyueb <1062887235@qq.com> Date: Mon, 6 Nov 2017 15:38:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api.md | 6 ++++++ docs/rendertype.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/docs/api.md b/docs/api.md index 1456b97..b04237b 100644 --- a/docs/api.md +++ b/docs/api.md @@ -5,6 +5,12 @@ ## 代码演示 +## 引入机制 + +import Table from "bee-table"; +import 'bee-table/build/Table.css'; + + ## API ### Table diff --git a/docs/rendertype.md b/docs/rendertype.md index 247aead..765950f 100644 --- a/docs/rendertype.md +++ b/docs/rendertype.md @@ -44,6 +44,9 @@ import InputRender from "bee-table/render/InputRender.js" #### 依赖的组件 该render依赖于`bee-icon`,`bee-datepicker`,`moment` +1. 下载依赖。例如:`npm install bee-icon -S`或者`npm install bee-icon --save` +2. 引入css文件。**注:如果引入了CSS的cdn资源,即可忽略此步骤。**例如:`import 'bee-icon/build/Icon.css;'` + #### 配置 | 参数 | 说明 | 类型 | 默认值 | | ----------------- | ---------------------------------------- | ---------- | ------ | @@ -58,6 +61,9 @@ import InputRender from "bee-table/render/InputRender.js" #### 依赖的组件 该render依赖于`bee-icon`,`bee-select` +1. 下载依赖。例如:`npm install bee-icon -S`或者`npm install bee-icon --save` +2. 引入css文件。**注:如果引入了CSS的cdn资源,即可忽略此步骤。**例如:`import 'bee-icon/build/Icon.css;'` + #### 配置 | 参数 | 说明 | 类型 | 默认值 | | ----------------- | ---------------------------------------- | ---------- | ------ |