Catch-all except something
Is there a way by using Catch-all […slug].vue
To escape certain paths and do not catch them?
6 Replies
Sure, just add a vue file into the same directory with this path you don’t want to catch
Well that approach I know, but it won’t work for this case, I need something more robust like regex, it’s to many paths, to add files
How should that work in your opinion?
Would be good to have something in nuxt.config router
GitHub
router.extendRoutes support in nuxt.config.js for Nuxt 3 · Issue #1...
Environment PS D:\nuxt3-app> npx nuxi info Nuxt CLI v3.0.0-27288761.d3fb512 11:17:49 RootDir: D:\nuxt3-app 11:17:52 Nuxt project info: 11:17:52 Operating System: Windows_NT Node Version: v16...
Thanks! That’s something what I was looking for!