@uniformdev/uniform-nuxt 19.27.0 → 19.29.0
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/dist/module.json +1 -1
- package/dist/runtime/plugin.mjs +4 -1
- package/package.json +12 -12
package/dist/module.json
CHANGED
package/dist/runtime/plugin.mjs
CHANGED
|
@@ -133,10 +133,13 @@ function setupPreview(nuxtApp) {
|
|
|
133
133
|
}
|
|
134
134
|
nuxtApp.hook("app:beforeMount", () => {
|
|
135
135
|
if (preview && (route.query.slug || route.query.path)) {
|
|
136
|
+
const path = preview?.path ?? preview?.slug;
|
|
137
|
+
const pathParams = Object.fromEntries(new URL(path ?? "", "https://example.com").searchParams);
|
|
136
138
|
router.push({
|
|
137
|
-
path
|
|
139
|
+
path,
|
|
138
140
|
query: {
|
|
139
141
|
...route.query,
|
|
142
|
+
...pathParams,
|
|
140
143
|
slug: void 0,
|
|
141
144
|
id: void 0,
|
|
142
145
|
path: void 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/uniform-nuxt",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.29.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -23,26 +23,26 @@
|
|
|
23
23
|
"document": "api-extractor run --local"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nuxt/kit": "3.
|
|
27
|
-
"@uniformdev/canvas": "19.
|
|
28
|
-
"@uniformdev/canvas-vue": "19.
|
|
29
|
-
"@uniformdev/context": "19.
|
|
30
|
-
"@uniformdev/context-vue": "19.
|
|
31
|
-
"@uniformdev/richtext": "19.
|
|
26
|
+
"@nuxt/kit": "3.6.0",
|
|
27
|
+
"@uniformdev/canvas": "19.29.0",
|
|
28
|
+
"@uniformdev/canvas-vue": "19.29.0",
|
|
29
|
+
"@uniformdev/context": "19.29.0",
|
|
30
|
+
"@uniformdev/context-vue": "19.29.0",
|
|
31
|
+
"@uniformdev/richtext": "19.29.0",
|
|
32
32
|
"vue-demi": "^0.14.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@nuxt/module-builder": "0.2.1",
|
|
36
|
-
"@nuxt/schema": "3.
|
|
36
|
+
"@nuxt/schema": "3.6.0",
|
|
37
37
|
"@nuxtjs/eslint-config-typescript": "12.0.0",
|
|
38
|
-
"esbuild": "0.18.
|
|
38
|
+
"esbuild": "0.18.4",
|
|
39
39
|
"eslint": "^8.31.0",
|
|
40
|
-
"nuxt": "3.
|
|
41
|
-
"vue": "3.2.
|
|
40
|
+
"nuxt": "3.6.0",
|
|
41
|
+
"vue": "3.2.47",
|
|
42
42
|
"vue-router": "4.1.6"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "f8e9d5f6283fb3d72ba095c0e307907dc591ce4a"
|
|
48
48
|
}
|