@scenetechnology/cj_iview_table 0.0.4 → 0.0.6
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,15 +15,15 @@ cj_iview_table 是一个基于 Vue.js 和 ViewUI (原 iView) 的表格组件项
|
|
|
15
15
|
1. 克隆或下载项目代码
|
|
16
16
|
2. 在项目根目录运行以下命令安装依赖:
|
|
17
17
|
```
|
|
18
|
-
npm install cj_iview_table --legacy-peer-deps
|
|
18
|
+
npm install @scenetechnology/cj_iview_table --legacy-peer-deps
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
### 引入
|
|
22
22
|
|
|
23
23
|
1. 在main.js中 引入UI库 引入UI样式
|
|
24
24
|
```
|
|
25
|
-
import cj_iview_table from 'cj_iview_table'
|
|
26
|
-
import 'cj_iview_table/dist/cj_iview_table.css'
|
|
25
|
+
import cj_iview_table from '@scenetechnology/cj_iview_table'
|
|
26
|
+
import '@scenetechnology/cj_iview_table/dist/cj_iview_table.css'
|
|
27
27
|
Vue.use(cj_iview_table)
|
|
28
28
|
```
|
|
29
29
|
2.在页面使用
|