NUXTE2007
En esta página
E2007#
setPageLayout() was called from a component's setup() during SSR. On the server the layout must be decided before the component renders, so changing it here produces incorrect SSR output.
Resolution#
Set the layout from route middleware, or statically with definePageMeta({ layout: '...' }).
::read-more{to="/docs/api/utils/set-page-layout"} ::