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
Just to add: I too would like to see this option!
The hooks work, but it feels a bit disjointed to specify this in the config, rather than in the related page. 👍
Environment
Nuxt CLI v3.0.0-rc.3 09:39:40
RootDir: /Users/albin/code/nuxt3-boilerplate 09:39:41
Nuxt project info: 09:39:41
Darwin
v16.14.0
3.0.0-rc.3
yarn@1.22.17
vite
build
-
-
Reproduction
Use router via
pages
folderDescribe the bug
There is currently no way to redirect one page to another when using wildcard slugs (that is documented)
I would like to specify it via the router options:
router.options.ts
But the docs for the router says "Note: history and routes options will be always overridden by Nuxt.".
This seems like a basic enough feature. Also, would be great if the
pages
directory could be optional. I like defining the routes myself.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: