\r\n \u003C/NuxtLayout>\r\n\u003C/template>\r\n```\r\ndefined. And in pages is the layout (which is in /layouts (default.vue, test.vue) with definePageMeta\r\n```\r\n\u003Cscript setup lang=\"ts\">\r\ndefinePageMeta({\r\n layout: 'test',\r\n});\r\n\u003C/script>\r\n```\r\n\r\n### Describe the bug\r\n\r\nOnly since a few days without any recall of change regarding these files, we noticed that on the checkout and account pages it will always load the default layout now. If we add a console.log right underneath the definePageMeta it shows up, so the file itself etc is the correct, just the right layout isn't applied anymore.We tried updating the packages but even that didn't change the behavior, same with cache and a fresh dev start.\r\nI've also read through https://github.com/nuxt/nuxt/issues/13354 which seemed to be the same bug, but we have the NuxtPage wrapping the NuxtLayout in the app.vue.\r\n\r\nAny clues/ ideas on which direction we could debug would be highly appreciated!\r\n\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[3006,3007],{"name":2905,"color":2906},{"name":2928,"color":2929},27943,"definePageMeta doesn't work/ gets ignored","2024-08-28T18:39:04Z","https://github.com/nuxt/nuxt/issues/27943",0.68312913,{"description":3014,"labels":3015,"number":3018,"owner":2914,"repository":2914,"state":2931,"title":3019,"updated_at":3020,"url":3021,"score":3022},"### Environment\n\n- Operating System: `Linux`\r\n- Node Version: `v18.7.0`\r\n- Nuxt Version: `3.0.0-rc.11`\r\n- Nitro Version: `0.5.4`\r\n- Package Manager: `npm@8.15.0`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n\n\n### Reproduction\n\nWe are defining the layout at runtime through a variable that we defined immediately before\r\n\r\nconst isSpecialEditorMode = (isMobile || constructor.value?.require_full_screen) && constructor.value?.type != 'SIMPLE_FORM'\r\n\r\ndefinePageMeta({\r\n layout: isSpecialEditorMode ? false : 'master'\r\n})\r\n\r\n\r\n\n\n### Describe the bug\n\nWe are defining the layout at runtime through a variable that we defined immediately before\r\n\r\nconst isSpecialEditorMode = (isMobile || constructor.value?.require_full_screen) && constructor.value?.type != 'SIMPLE_FORM'\r\n\r\ndefinePageMeta({\r\n layout: isSpecialEditorMode ? false : 'master'\r\n})\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\nnuxt] [request error] [unhandled] [500] isSpecialEditorMode is not defined\r\n at ./src/pages/create/[article_id].vue?macro=true:132:13 \r\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5) \r\n at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:251:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:128:12) \r\n at async request (./node_modules/vite-node/dist/client.mjs:151:16) \r\n at async virtual:nuxt:./.nuxt/routes.mjs:25:32 \r\n at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:251:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:128:12) \r\n at async request (./node_modules/vite-node/dist/client.mjs:151:16) \r\n at async ./node_modules/nuxt/dist/pages/runtime/router.mjs:14:31\r\n[nuxt] [request error] [unhandled] [500] isSpecialEditorMode is not defined\r\n at ./src/pages/create/[article_id].vue?macro=true:132:13 \r\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5) \r\n at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:251:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:128:12) \r\n at async request (./node_modules/vite-node/dist/client.mjs:151:16) \r\n at async virtual:nuxt:./.nuxt/routes.mjs:25:32 \r\n at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:251:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:128:12) \r\n at async request (./node_modules/vite-node/dist/client.mjs:151:16) \r\n at async ./node_modules/nuxt/dist/pages/runtime/router.mjs:14:31\n```\n",[3016,3017],{"name":2924,"color":2925},{"name":2905,"color":2906},15128,"DefinePageMeta Layout dynamic","2023-01-19T17:45:09Z","https://github.com/nuxt/nuxt/issues/15128",0.68343884,["Reactive",3024],{},["Set"],["ShallowReactive",3027],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fawVrjkEHSkg_GEU3lDiC8m16RLiYaUGGK5AdIJTLvV4":-1},"/nuxt/nuxt/29252"]