[{"data":1,"prerenderedAt":395,"buildId":396},["ShallowReactive",2],{"navigation_docs":3,"rule-content-\u002Fnuxt\u002Frules\u002Frouting\u002Fparent-page-requires-nuxtpage":104},[4,32,36,40,44,48,52,64,68,92,96,100],{"title":5,"path":6,"stem":7,"children":8,"icon":31},"CLI","\u002Fcli","1.cli\u002F1.index",[9,11,15,19,23,27],{"title":10,"path":6,"stem":7},"Run Doctor",{"title":12,"path":13,"stem":14},"Reports","\u002Fcli\u002Freports","1.cli\u002F2.reports",{"title":16,"path":17,"stem":18},"Configuration","\u002Fcli\u002Fconfiguration","1.cli\u002F3.configuration",{"title":20,"path":21,"stem":22},"CI and changed files","\u002Fcli\u002Fci","1.cli\u002F4.ci",{"title":24,"path":25,"stem":26},"Workspaces","\u002Fcli\u002Fworkspaces","1.cli\u002F5.workspaces",{"title":28,"path":29,"stem":30},"Cache and speed","\u002Fcli\u002Fcache","1.cli\u002F6.cache","i-lucide-terminal",{"title":33,"path":34,"stem":35},"Nuxt","\u002Fnuxt","2.nuxt",{"title":37,"path":38,"stem":39},"Vue","\u002Fvue","3.vue",{"title":41,"path":42,"stem":43},"Vite","\u002Fvite","4.vite",{"title":45,"path":46,"stem":47},"Nitro","\u002Fnitro","5.nitro",{"title":49,"path":50,"stem":51},"TypeScript","\u002Ftypescript","6.typescript",{"title":53,"path":54,"stem":55,"children":56,"icon":63},"Design system","\u002Fdesign-system","7.design-system\u002F1.index",[57,59],{"title":58,"path":54,"stem":55},"Overview",{"title":60,"path":61,"stem":62},"Classes and styles","\u002Fdesign-system\u002Fclasses","7.design-system\u002F2.classes","i-lucide-swatch-book",{"title":65,"path":66,"stem":67},"Package","\u002Fpackage","8.package",{"title":69,"path":70,"stem":71,"children":72,"icon":91},"Extending Doctor","\u002Fextending","9.extending\u002F1.index",[73,75,79,83,87],{"title":74,"path":70,"stem":71},"Write an extension",{"title":76,"path":77,"stem":78},"Visitors","\u002Fextending\u002Fvisitors","9.extending\u002F2.visitors",{"title":80,"path":81,"stem":82},"Ship with a library","\u002Fextending\u002Fshipping","9.extending\u002F3.shipping",{"title":84,"path":85,"stem":86},"Test a Rule","\u002Fextending\u002Ftesting","9.extending\u002F4.testing",{"title":88,"path":89,"stem":90},"Rule inputs","\u002Fextending\u002Frule-inputs","9.extending\u002F5.rule-inputs","i-lucide-puzzle",{"title":93,"path":94,"stem":95},"H3","\u002Fh3","9.h3",{"title":97,"path":98,"stem":99},"MCP","\u002Fmodel-context-protocol","9.model-context-protocol",{"title":101,"path":102,"stem":103},"Pinia","\u002Fpinia","9.pinia",{"id":105,"title":106,"body":107,"category":113,"description":382,"diagnosticCodes":383,"docsUrl":115,"extension":384,"fix":116,"framework":385,"meta":386,"navigation":387,"pack":117,"path":389,"recommendedReplacement":390,"ruleId":118,"seo":391,"severity":119,"source":120,"sourceUrl":121,"stem":392,"why":393,"__hash__":394},"rules\u002Fnuxt\u002Frules\u002Frouting\u002Fparent-page-requires-nuxtpage.md","Render NuxtPage in parent pages",{"type":108,"value":109,"toc":373},"minimark",[110,122,127,159,163,182,186,192,196,222,226,231,234,293,296,369],[111,112],"rule-metadata",{"category":113,"diagnosticCodes":114,"docsUrl":115,"fix":116,"pack":117,"ruleId":118,"severity":119,"source":120,"sourceUrl":121},"routing","NUXT0098","https:\u002F\u002Fnuxt.com\u002Fdocs\u002F4.x\u002Fguide\u002Fdirectory-structure\u002Fapp\u002Fpages#nested-routes","suggestion","vite-doctor\u002Fnuxt","nuxt\u002Frouting\u002Fparent-page-requires-nuxtpage","error","src\u002Frule-packs\u002Fnuxt\u002Frules\u002Fnuxt\u002Fparent-page-requires-nuxt-page.ts","https:\u002F\u002Fgithub.com\u002Fwords-with-agents\u002Fvite-doctor\u002Fblob\u002Fmain\u002Fsrc\u002Frule-packs\u002Fnuxt\u002Frules\u002Fnuxt\u002Fparent-page-requires-nuxt-page.ts",[123,124,126],"h2",{"id":125},"run-this-rule","Run this rule",[128,129,134],"pre",{"className":130,"code":131,"language":132,"meta":133,"style":133},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm nuxt doctor --rules nuxt\u002Frouting\u002Fparent-page-requires-nuxtpage\n","bash","",[135,136,137],"code",{"__ignoreMap":133},[138,139,142,146,150,153,156],"span",{"class":140,"line":141},"line",1,[138,143,145],{"class":144},"sBMFI","pnpm",[138,147,149],{"class":148},"sfazB"," nuxt",[138,151,152],{"class":148}," doctor",[138,154,155],{"class":148}," --rules",[138,157,158],{"class":148}," nuxt\u002Frouting\u002Fparent-page-requires-nuxtpage\n",[123,160,162],{"id":161},"why-it-matters","Why it matters",[164,165,166,167,170,171,174,175,178,179,181],"p",{},"Nuxt turns pages\u002Fusers.vue next to pages\u002Fusers\u002F",[138,168,169],{},"id",".vue into a parent route with a child route. The child renders inside the parent's ",[135,172,173],{},"\u003CNuxtPage>",", so without one, navigating to \u002Fusers\u002F1 shows only the parent page. Nuxt reports this in development as NUXT_E4016, \"the parent page does not render ",[135,176,177],{},"\u003CNuxtPage \u002F>",", so the nested page cannot be displayed\", or as NUXT_E4011 when no page renders ",[135,180,173],{}," at all.",[123,183,185],{"id":184},"recommended-fix","Recommended fix",[164,187,188,189,191],{},"Render ",[135,190,177],{}," in the parent page where the child should appear. If the pages are not meant to nest, move pages\u002Fusers.vue to pages\u002Fusers\u002Findex.vue.",[123,193,195],{"id":194},"useful-links","Useful links",[197,198,199,208,215],"ul",{},[200,201,202],"li",{},[203,204,207],"a",{"href":115,"rel":205},[206],"nofollow","Nuxt nested routes",[200,209,210],{},[203,211,214],{"href":212,"rel":213},"https:\u002F\u002Fnuxt.com\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-page",[206],"NuxtPage",[200,216,217],{},[203,218,221],{"href":219,"rel":220},"https:\u002F\u002Fnuxt.com\u002Fdocs\u002F4.x\u002Fgetting-started\u002Frouting",[206],"Nuxt routing",[123,223,225],{"id":224},"example","Example",[227,228,230],"h3",{"id":229},"render-the-child-route-in-the-parent-page","Render the child route in the parent page",[164,232,233],{},"Before",[128,235,239],{"className":236,"code":237,"language":238,"meta":133,"style":133},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003C!-- app\u002Fpages\u002Fusers.vue, next to app\u002Fpages\u002Fusers\u002F[id].vue -->\n\u003Ctemplate>\n  \u003Ch1>Users\u003C\u002Fh1>\n\u003C\u002Ftemplate>\n","vue",[135,240,241,247,261,284],{"__ignoreMap":133},[138,242,243],{"class":140,"line":141},[138,244,246],{"class":245},"sHwdD","\u003C!-- app\u002Fpages\u002Fusers.vue, next to app\u002Fpages\u002Fusers\u002F[id].vue -->\n",[138,248,250,254,258],{"class":140,"line":249},2,[138,251,253],{"class":252},"sMK4o","\u003C",[138,255,257],{"class":256},"swJcz","template",[138,259,260],{"class":252},">\n",[138,262,264,267,270,273,277,280,282],{"class":140,"line":263},3,[138,265,266],{"class":252},"  \u003C",[138,268,269],{"class":256},"h1",[138,271,272],{"class":252},">",[138,274,276],{"class":275},"sTEyZ","Users",[138,278,279],{"class":252},"\u003C\u002F",[138,281,269],{"class":256},[138,283,260],{"class":252},[138,285,287,289,291],{"class":140,"line":286},4,[138,288,279],{"class":252},[138,290,257],{"class":256},[138,292,260],{"class":252},[164,294,295],{},"After",[128,297,299],{"className":236,"code":298,"language":238,"meta":133,"style":133},"\u003C!-- app\u002Fpages\u002Fusers.vue -->\n\u003Ctemplate>\n  \u003Cdiv>\n    \u003Ch1>Users\u003C\u002Fh1>\n    \u003CNuxtPage \u002F>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[135,300,301,306,314,323,340,350,360],{"__ignoreMap":133},[138,302,303],{"class":140,"line":141},[138,304,305],{"class":245},"\u003C!-- app\u002Fpages\u002Fusers.vue -->\n",[138,307,308,310,312],{"class":140,"line":249},[138,309,253],{"class":252},[138,311,257],{"class":256},[138,313,260],{"class":252},[138,315,316,318,321],{"class":140,"line":263},[138,317,266],{"class":252},[138,319,320],{"class":256},"div",[138,322,260],{"class":252},[138,324,325,328,330,332,334,336,338],{"class":140,"line":286},[138,326,327],{"class":252},"    \u003C",[138,329,269],{"class":256},[138,331,272],{"class":252},[138,333,276],{"class":275},[138,335,279],{"class":252},[138,337,269],{"class":256},[138,339,260],{"class":252},[138,341,343,345,347],{"class":140,"line":342},5,[138,344,327],{"class":252},[138,346,214],{"class":256},[138,348,349],{"class":252}," \u002F>\n",[138,351,353,356,358],{"class":140,"line":352},6,[138,354,355],{"class":252},"  \u003C\u002F",[138,357,320],{"class":256},[138,359,260],{"class":252},[138,361,363,365,367],{"class":140,"line":362},7,[138,364,279],{"class":252},[138,366,257],{"class":256},[138,368,260],{"class":252},[370,371,372],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":133,"searchDepth":249,"depth":249,"links":374},[375,376,377,378,379],{"id":125,"depth":249,"text":126},{"id":161,"depth":249,"text":162},{"id":184,"depth":249,"text":185},{"id":194,"depth":249,"text":195},{"id":224,"depth":249,"text":225,"children":380},[381],{"id":229,"depth":263,"text":230},"Finds a parent route component that never renders `\u003CNuxtPage>` or `\u003CRouterView>` directly or through another component. Doctor uses Nuxt's prepared parent-child relationships when available, including across layers. Without those relationships, it uses standard directory conventions only when configuration and layer evidence allow it. Unresolved render targets are treated as possibly rendering the outlet.",[114],"md","nuxt",{},{"title":388},"Nested page outlet","\u002Fnuxt\u002Frules\u002Frouting\u002Fparent-page-requires-nuxtpage","Render `\u003CNuxtPage \u002F>` in the parent page where the child should appear. If the pages are not meant to nest, move pages\u002Fusers.vue to pages\u002Fusers\u002Findex.vue.",{"title":106,"description":382},"nuxt\u002Frules\u002Frouting\u002Fparent-page-requires-nuxtpage","Nuxt turns pages\u002Fusers.vue next to pages\u002Fusers\u002F[id].vue into a parent route with a child route. The child renders inside the parent's `\u003CNuxtPage>`, so without one, navigating to \u002Fusers\u002F1 shows only the parent page. Nuxt reports this in development as NUXT_E4016, \"the parent page does not render `\u003CNuxtPage \u002F>`, so the nested page cannot be displayed\", or as NUXT_E4011 when no page renders `\u003CNuxtPage>` at all.","Az1OJ9OBhZ0zBwiLYjHhr5Niz5Dwo7PXzGcq73ULddo",1796507769313,"e745db9b-2064-477e-b678-8c0a05edc39c"]