@umoteam/umo-editor-nuxt 0.0.1 → 0.0.2

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
@@ -12,7 +12,7 @@
12
12
  <a href="https://github.com/umodoc/editor/commits" target="_blank"><img src="https://img.shields.io/github/commit-activity/m/umodoc/editor" /></a>
13
13
  </p>
14
14
 
15
- A powerful integration that brings the full capabilities of Umo Editor to your Nuxt3 applications.
15
+ A powerful integration that brings the full capabilities of Umo Editor to your Nuxt3 App.
16
16
 
17
17
  # 中文介绍
18
18
 
@@ -34,7 +34,10 @@ As an independent Vue3 plugin, Umo Editor can be easily integrated into various
34
34
  ## Install
35
35
 
36
36
  ```bash
37
- npx nuxi module add umo-editor-nuxt
37
+ npx nuxi module add @umoteam/umo-editor-nuxt
38
+
39
+ # or
40
+ npm i @umoteam/umo-editor-nuxt
38
41
  ```
39
42
 
40
43
  ## Usage
@@ -52,20 +55,20 @@ export default defineNuxtConfig({
52
55
  })
53
56
  ```
54
57
 
55
- 2. Use the Umo Editor component in your pages
58
+ 2. Use the Umo Editor component
56
59
  ```vue
57
60
  <template>
58
61
  <div style="height: 600px;">
59
- <UmoEditor />
62
+ <UmoEditor v-bind="options" />
60
63
  </div>
61
64
  </template>
62
65
 
63
66
  <script setup>
64
- const options = $ref({
67
+ const options = ref({
65
68
  // Configuration options, see:
66
69
  // https://editor.umodoc.com/en/docs/options/default
67
70
  })
68
71
  </script>
69
72
  ```
70
73
 
71
- That's it! You can now use Umo Editor in your Nuxt app
74
+ That's it! You can now use Umo Editor in your Nuxt App
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.0.1",
7
+ "version": "0.0.2",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.1",
10
10
  "unbuild": "3.5.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umoteam/umo-editor-nuxt",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "author": {
5
5
  "name": "umodoc",
6
6
  "email": "contact@umodoc.com",
@@ -12,6 +12,7 @@
12
12
  "type": "module",
13
13
  "keywords": [
14
14
  "umo editor",
15
+ "umo editor nuxt",
15
16
  "umodoc editor",
16
17
  "document editor",
17
18
  "docs editor",