Layouts
In this example:
layouts/default.vue
is used in the home page as no layout property is definedlayouts/auth.vue
is used in the /login page with thelayout
property set to 'auth'layouts/profile.vue
is used in the /profile page thelayout
property set to 'profile'
Loading CodeSandbox...