azs-doc-editor 1.0.3 → 1.0.4

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
@@ -13,26 +13,7 @@
13
13
  ## 安装
14
14
 
15
15
  ```bash
16
- npm install azs-doc-editor
17
- ```
18
-
19
- ## 重要:样式导入
20
-
21
- **必须在你的项目中导入以下样式,否则编辑器的按钮和图标将不显示:**
22
-
23
- ```typescript
24
- // main.ts 或 main.js
25
- import 'element-plus/dist/index.css'
26
- import 'remixicon/fonts/remixicon.css'
27
- import 'azs-doc-editor/style.css'
28
- ```
29
-
30
- 或者在你的 HTML 中引入:
31
-
32
- ```html
33
- <link rel="stylesheet" href="node_modules/element-plus/dist/index.css">
34
- <link rel="stylesheet" href="node_modules/remixicon/fonts/remixicon.css">
35
- <link rel="stylesheet" href="node_modules/azs-doc-editor/dist/style.css">
16
+ npm install vue-document-editor
36
17
  ```
37
18
 
38
19
  ## 前置要求
@@ -55,12 +36,8 @@ import 'azs-doc-editor/style.css'
55
36
 
56
37
  ```typescript
57
38
  import { createApp } from 'vue'
58
- import DocumentConverter from 'azs-doc-editor'
59
-
60
- // 必须导入这些样式
61
- import 'element-plus/dist/index.css'
62
- import 'remixicon/fonts/remixicon.css'
63
- import 'azs-doc-editor/style.css'
39
+ import DocumentConverter from 'vue-document-converter'
40
+ import 'vue-document-converter/style.css'
64
41
 
65
42
  const app = createApp(App)
66
43
  app.use(DocumentConverter)