Kerensky
Kerensky
NNuxt
Created by Kerensky on 2/28/2025 in #❓・help
Nuxt content and nested route active links
I'm trying to use the document driven mode workaround with NuxtContent v3 with the catch all route [...slug].vue (https://content.nuxt.com/docs/getting-started/migration#implement-document-driven-mode-in-v3) I'm running into an issue with the router active class not being added to nested pages however. It seems nested vue router pages are not being created for nested pages in the content directory. Is there a way around that without having to define the nested routes in the pages directly as well?
5 replies
NNuxt
Created by Kerensky on 12/16/2022 in #❓・help
How to get in module the server host and port being used?
I'm working on updating a Nuxt 2 module I've made for Nuxt 3, but am running into an issue. How can you get access to the server's host and port being used in a module's setup function? In Nuxt 2 I could get it with nuxt.options.server.host and nuxt.options.server.port, but I can't seem to find the Nuxt 3 equivalent. I appreciate any help.
2 replies