@uniformdev/uniform-nuxt 19.25.1-alpha.8 → 19.27.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 +1 -4
- package/package.json +8 -8
package/dist/module.json
CHANGED
package/dist/runtime/plugin.mjs
CHANGED
|
@@ -133,13 +133,10 @@ 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);
|
|
138
136
|
router.push({
|
|
139
|
-
path,
|
|
137
|
+
path: preview?.path ?? preview?.slug,
|
|
140
138
|
query: {
|
|
141
139
|
...route.query,
|
|
142
|
-
...pathParams,
|
|
143
140
|
slug: void 0,
|
|
144
141
|
id: void 0,
|
|
145
142
|
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.27.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@nuxt/kit": "3.2.0",
|
|
27
|
-
"@uniformdev/canvas": "19.
|
|
28
|
-
"@uniformdev/canvas-vue": "19.
|
|
29
|
-
"@uniformdev/context": "19.
|
|
30
|
-
"@uniformdev/context-vue": "19.
|
|
31
|
-
"@uniformdev/richtext": "19.
|
|
27
|
+
"@uniformdev/canvas": "19.27.0",
|
|
28
|
+
"@uniformdev/canvas-vue": "19.27.0",
|
|
29
|
+
"@uniformdev/context": "19.27.0",
|
|
30
|
+
"@uniformdev/context-vue": "19.27.0",
|
|
31
|
+
"@uniformdev/richtext": "19.27.0",
|
|
32
32
|
"vue-demi": "^0.14.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"esbuild": "0.18.0",
|
|
39
39
|
"eslint": "^8.31.0",
|
|
40
40
|
"nuxt": "3.2.0",
|
|
41
|
-
"vue": "3.2.
|
|
41
|
+
"vue": "3.2.45",
|
|
42
42
|
"vue-router": "4.1.6"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "8041631f93aca51a236597c1aea606c6dc8732e8"
|
|
48
48
|
}
|