@zhangqingcq/vgce 0.1.12 → 0.1.14
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 +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
@@ -21,7 +21,6 @@ or
|
|
21
21
|
```
|
22
22
|
//main.js or main.ts
|
23
23
|
|
24
|
-
import 'element-plus/dist/index.css'
|
25
24
|
import '@zhangqingcq/vgce/dist/style.css'
|
26
25
|
```
|
27
26
|
|
@@ -174,5 +173,7 @@ or
|
|
174
173
|
### 注意:
|
175
174
|
|
176
175
|
- 本库ui框架使用的是`element-plus`,所以你需要在你的项目安装 element-plus 依赖,依赖版本按上面给出的版本
|
177
|
-
- 在你没有其他地方使用element-plus
|
178
|
-
-
|
176
|
+
- 在你没有其他地方使用element-plus组件的情况下,可以不用完整引入element-plus
|
177
|
+
- 如果有少量使用其组件,也可以使用按需引入或手动引入
|
178
|
+
- 如果项目使用了其他UI框架,编辑器的element-plus组件样式可能会被其他框架污染,但由于编辑器使用的组件不多,且不会出现大面积污染,可自行写样式解决编辑器样式被污染的问题
|
179
|
+
- 如果项目使用了其他UI框架,由于编辑器的使用不需要完全引入element-plus,所以不用担心element-plus污染项目中其他UI框架组件
|