@stll/folio-nuxt 0.3.20 → 0.4.1
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 +21 -0
- package/dist/module.json +1 -1
- package/package.json +25 -8
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @stll/folio-nuxt
|
|
2
|
+
|
|
3
|
+
Nuxt integration for the folio Vue document editor.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
bun add @stll/folio-nuxt vue@^3.3.0 \
|
|
9
|
+
prosemirror-commands@^1.7.1 prosemirror-dropcursor@^1.8.2 prosemirror-gapcursor@^1.4.1 prosemirror-history@^1.5.0 \
|
|
10
|
+
prosemirror-inputrules@^1.5.0 prosemirror-keymap@^1.2.3 prosemirror-model@^1.25.9 prosemirror-state@^1.4.4 \
|
|
11
|
+
prosemirror-tables@^1.8.5 prosemirror-transform@^1.12.0 prosemirror-view@^1.42.6 y-prosemirror@^1.3.7 \
|
|
12
|
+
y-protocols@^1.0.6 yjs@^13.6.31
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
ProseMirror and Yjs packages are required peers, including the collaboration
|
|
16
|
+
packages `y-prosemirror` and `y-protocols`. Install one compatible copy of each in the host
|
|
17
|
+
application so schemas, plugins, editor states, and collaborative documents share
|
|
18
|
+
the same runtime. The command above includes the complete editor peer closure.
|
|
19
|
+
|
|
20
|
+
Add `"@stll/folio-nuxt"` to `modules` in `nuxt.config.ts`; the module registers
|
|
21
|
+
a client-only `<DocxEditor>` and loads the editor stylesheet.
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/folio-nuxt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Nuxt 3 & 4 module for folio: auto-imports an SSR-safe <DocxEditor> component built on @stll/folio-vue and ProseMirror.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docx",
|
|
@@ -53,20 +53,37 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@nuxt/kit": "^3.14.0 || ^4.0.0",
|
|
56
|
-
"@
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"prosemirror-state": "^1.4.3",
|
|
60
|
-
"prosemirror-tables": "^1.8.5",
|
|
61
|
-
"prosemirror-view": "^1.42.6"
|
|
56
|
+
"@nuxt/schema": "^3.14.0 || ^4.0.0",
|
|
57
|
+
"@stll/folio-vue": "^0.25.0",
|
|
58
|
+
"@stll/utf8-boundaries": "0.1.0"
|
|
62
59
|
},
|
|
63
60
|
"devDependencies": {
|
|
64
61
|
"@nuxt/module-builder": "^1.0.0",
|
|
65
62
|
"@nuxt/schema": "^4.5.1",
|
|
66
63
|
"nuxt": "^4.5.1",
|
|
64
|
+
"prosemirror-history": "^1.5.0",
|
|
65
|
+
"prosemirror-model": "^1.25.9",
|
|
66
|
+
"prosemirror-state": "^1.4.4",
|
|
67
|
+
"prosemirror-tables": "^1.8.5",
|
|
68
|
+
"prosemirror-view": "^1.42.6",
|
|
67
69
|
"vue": "^3.5.43"
|
|
68
70
|
},
|
|
69
71
|
"peerDependencies": {
|
|
70
|
-
"
|
|
72
|
+
"prosemirror-commands": "^1.7.1",
|
|
73
|
+
"prosemirror-dropcursor": "^1.8.2",
|
|
74
|
+
"prosemirror-gapcursor": "^1.4.1",
|
|
75
|
+
"prosemirror-history": "^1.5.0",
|
|
76
|
+
"prosemirror-inputrules": "^1.5.0",
|
|
77
|
+
"prosemirror-keymap": "^1.2.3",
|
|
78
|
+
"prosemirror-model": "^1.25.9",
|
|
79
|
+
"prosemirror-state": "^1.4.4",
|
|
80
|
+
"prosemirror-tables": "^1.8.5",
|
|
81
|
+
"prosemirror-transform": "^1.12.0",
|
|
82
|
+
"prosemirror-view": "^1.42.6",
|
|
83
|
+
"react": "^19.2.0",
|
|
84
|
+
"vue": "^3.3.0",
|
|
85
|
+
"y-prosemirror": "^1.3.7",
|
|
86
|
+
"y-protocols": "^1.0.6",
|
|
87
|
+
"yjs": "^13.6.31"
|
|
71
88
|
}
|
|
72
89
|
}
|