morghulis 1.0.33 → 1.0.34
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 +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -5,9 +5,12 @@ Morghulis是一个基于Vue 3的UI组件和工具函数库,提供了常用的U
|
|
5
5
|
## 安装
|
6
6
|
|
7
7
|
```bash
|
8
|
+
# 安装Morghulis库
|
8
9
|
npm install morghulis
|
9
10
|
```
|
10
11
|
|
12
|
+
> **注意**:Morghulis已内置Element Plus依赖,无需单独安装。
|
13
|
+
|
11
14
|
## 使用方法
|
12
15
|
|
13
16
|
### 作为Vue插件使用
|
@@ -17,6 +20,8 @@ import { createApp } from 'vue'
|
|
17
20
|
import App from './App.vue'
|
18
21
|
import { createMorghulis } from 'morghulis'
|
19
22
|
|
23
|
+
// Element Plus样式已在库中导入,无需手动导入
|
24
|
+
|
20
25
|
const app = createApp(App)
|
21
26
|
|
22
27
|
// 使用默认配置
|