@nuxt/docs-nightly 4.3.2-29510500.552ac644 → 4.3.2-29515660.6abf3106
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.
|
@@ -370,7 +370,11 @@ Out of the box, this will enable typed usage of [`navigateTo`](/docs/4.x/api/uti
|
|
|
370
370
|
You can even get typed params within a page by using `const route = useRoute('route-name')`.
|
|
371
371
|
|
|
372
372
|
::important
|
|
373
|
-
If you use `pnpm` without `shamefully-hoist=true`, you will need to
|
|
373
|
+
If you use `pnpm` without `shamefully-hoist=true`, you will need to add `unplugin-vue-router` as a hoist pattern in your `pnpm-workspace.yaml` in order for this feature to work.
|
|
374
|
+
```yaml
|
|
375
|
+
publicHoistPattern:
|
|
376
|
+
- "unplugin-vue-router"
|
|
377
|
+
```
|
|
374
378
|
::
|
|
375
379
|
|
|
376
380
|
:video-accordion{title="Watch a video from Daniel Roe explaining type-safe routing in Nuxt" videoId="SXk-L19gTZk"}
|