NuxtN
Nuxt13mo ago
.fondazione

Conditional Popup Pages / Nested Routes

I’m working on a Nuxt 3 (or actually Nuxt 4) project, and I need some help with implementing a feature. Here’s what I’m trying to achieve:
• I’d like certain pages to open as popups/overlays when navigating to them via the frontend.
• However, if someone accesses those pages directly (e.g., by entering the URL in the browser), they should render as full-page views.

I’ve been exploring nested pages and the popup/overlay is no problem, but the normal render view part is not clear to me.

Any tips, code snippets, or resources would be greatly appreciated!

Thanks in advance! 🚀
Was this page helpful?