@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 +9 -6
- package/dist/module.json +1 -1
- package/package.json +2 -1
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
|
|
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
|
|
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 =
|
|
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
|
|
74
|
+
That's it! You can now use Umo Editor in your Nuxt App ✨
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umoteam/umo-editor-nuxt",
|
|
3
|
-
"version": "0.0.
|
|
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",
|