N
Nuxt2y ago
nandi95

How can I use a layout for the error page?

Is that possible?
5 Replies
Julien
Julien2y ago
hi 👋 try use setLayout
nandi95
nandi952y ago
you mean setPageLayout? it doesn't do anything is the error.vue even a page component?
Julien
Julien2y ago
the app.vue is swapped with error.vue when you create an error. So you should call <NuxtLayout> manually within error.vue
nandi95
nandi952y ago
riiiiight, that wasn't clear make sense thanks
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server