@virou/nuxt 1.1.1 → 1.1.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 +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -186,7 +186,7 @@ const { router, route } = useVRouter('my-wizard', routes)
|
|
|
186
186
|
hash: string
|
|
187
187
|
meta?: Record<PropertyKey, unknown>
|
|
188
188
|
params?: Record<string, string>
|
|
189
|
-
|
|
189
|
+
'~renderList': Component[] | null
|
|
190
190
|
}
|
|
191
191
|
```
|
|
192
192
|
- `router`:
|
|
@@ -312,10 +312,10 @@ const { router, route } = useVRouter('embedded-widget-app')
|
|
|
312
312
|
|
|
313
313
|
#### Runtime-Registered Globals
|
|
314
314
|
|
|
315
|
-
You may also mark a router as global at runtime by passing the `
|
|
315
|
+
You may also mark a router as global at runtime by passing the `isGlobal` option:
|
|
316
316
|
|
|
317
317
|
```ts
|
|
318
|
-
useVRouter(routes, {
|
|
318
|
+
useVRouter(routes, { isGlobal: true })
|
|
319
319
|
```
|
|
320
320
|
|
|
321
321
|
That router will stay registered even after components that use it unmount.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virou/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2",
|
|
5
5
|
"description": "Virou Nuxt Module",
|
|
6
6
|
"author": "Tankosin<https://github.com/tankosinn>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@nuxt/kit": "^4.2.2",
|
|
41
41
|
"defu": "^6.1.4",
|
|
42
|
-
"@virou/core": "1.1.
|
|
42
|
+
"@virou/core": "1.1.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@nuxt/schema": "4.2.2",
|