You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the `inertia` option to enable compatibility with [Inertia.js](https://inertiajs.com/).
707
+
Use the `router` option to configure routing integration. This is useful for applications that don't use `vue-router`, such as Electron apps, MPAs, or frameworks like [Inertia.js](https://inertiajs.com/) or [Hybridly](https://hybridly.dev/).
708
+
709
+
- Default: `true`{lang="ts-type"}
710
+
711
+
| Value | Description |
712
+
| ----- | ----------- |
713
+
|`true`{lang="ts-type"} | Uses `vue-router` for navigation with `RouterLink` component. |
When using this option, `vue-router` is not required as Inertia.js provides its own routing system. The components that would normally use `RouterLink` will automatically use Inertia's `InertiaLink` component instead.
733
+
When set to `false` or `'inertia'`, `vue-router` is not required as a dependency.
Use the `scanPackages` option to specify additional npm packages that should be scanned for components using Nuxt UI. This is useful when you have a shared component library that uses Nuxt UI components internally.
0 commit comments