Migrate to Nuxt 3: Pages and Layouts
Migrate to Nuxt 3: Pages and Layouts
Overview · Advanced And Powerful 2 · General 3 · Layout 5 · Navigation 7 · Data Entry 17 · Data Display 22 · Feedback 10 · Other 4
In Nuxt 3, layouts use slots instead, so you will have to replace that component with a slot > This also allows advanced use cases with named and scoped
nuxt3 slot LayoutPluginsRuntime ConfigTemplatesNitroResolvingLoggingBuilderExamples Every slot is interactive since the parent component is the one providing it
nuxt layout slot Line 9: This is a slot to set where we want the page to be displayed inside the layout This creates a header section, and the selected page (currently either
Regular
price
198.00 ₹ INR
Regular
price
198.00 ₹ INR
Sale
price
198.00 ₹ INR
Unit price
/
per