@uniformdev/uniform-nuxt 16.0.1-alpha.143 → 16.0.1-nuxt.146
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 +2 -5
- package/dist/module.json +1 -1
- package/dist/runtime/plugin.mjs +6 -1
- package/package.json +13 -7
package/README.md
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
# Nuxt Module
|
|
1
|
+
# Uniform Nuxt Module
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
- Run `npm run dev:prepare` to generate type stubs.
|
|
6
|
-
- Use `npm run dev` to start [playground](./playground) in development mode.
|
|
3
|
+
part of the [Uniform Platform](https://uniform.app). See our [documentation](https://docs.uniform.app) for more details.
|
package/dist/module.json
CHANGED
package/dist/runtime/plugin.mjs
CHANGED
|
@@ -7,7 +7,11 @@ import {
|
|
|
7
7
|
} from "@uniformdev/canvas";
|
|
8
8
|
import { Context } from "@uniformdev/context";
|
|
9
9
|
import { Composition, SlotContent, useCompositionEventEffect } from "@uniformdev/canvas-vue";
|
|
10
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
provideUniformContext,
|
|
12
|
+
onRouteChange,
|
|
13
|
+
useUniformContext
|
|
14
|
+
} from "@uniformdev/context-vue";
|
|
11
15
|
export default defineNuxtPlugin((nuxtApp) => {
|
|
12
16
|
if (nuxtApp.$uniformIsSetup) {
|
|
13
17
|
return;
|
|
@@ -21,6 +25,7 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|
|
21
25
|
return {
|
|
22
26
|
provide: {
|
|
23
27
|
uniformIsSetup: true,
|
|
28
|
+
useUniformContext,
|
|
24
29
|
preview,
|
|
25
30
|
uniformCanvasClient,
|
|
26
31
|
uniformContext,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/uniform-nuxt",
|
|
3
|
-
"version": "16.0.1-
|
|
3
|
+
"version": "16.0.1-nuxt.146+04197b8d4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -19,20 +19,26 @@
|
|
|
19
19
|
"build": "nuxt-module-build"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@nuxt/kit": "^3.0.0-rc.4"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"@uniformdev/
|
|
26
|
-
"@uniformdev/
|
|
22
|
+
"@nuxt/kit": "^3.0.0-rc.4"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"@uniformdev/canvas": ">16.1.0",
|
|
26
|
+
"@uniformdev/canvas-vue": ">16.1.0",
|
|
27
|
+
"@uniformdev/context": ">16.1.0",
|
|
28
|
+
"@uniformdev/context-vue": ">16.1.0"
|
|
27
29
|
},
|
|
28
30
|
"devDependencies": {
|
|
29
31
|
"@nuxt/module-builder": "latest",
|
|
30
32
|
"@nuxtjs/eslint-config-typescript": "latest",
|
|
33
|
+
"@uniformdev/canvas": "^16.0.1-nuxt.146+04197b8d4",
|
|
34
|
+
"@uniformdev/canvas-vue": "^16.0.1-nuxt.146+04197b8d4",
|
|
35
|
+
"@uniformdev/context": "^16.0.1-nuxt.146+04197b8d4",
|
|
36
|
+
"@uniformdev/context-vue": "^16.0.1-nuxt.146+04197b8d4",
|
|
31
37
|
"eslint": "latest",
|
|
32
38
|
"nuxt": "^3.0.0-rc.4"
|
|
33
39
|
},
|
|
34
40
|
"publishConfig": {
|
|
35
41
|
"access": "public"
|
|
36
42
|
},
|
|
37
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "04197b8d483707f49939875b690b902f48f1ccfe"
|
|
38
44
|
}
|