\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\nSetup pages directory like this:\r\n```\r\npages\r\n├── [username]\r\n│ └── [page].vue\r\n├── [username].vue\r\n└── index.vue\r\n```\r\n\r\nHere it is attached as zip:\r\n[pages.zip](https://github.com/nuxt/nuxt/files/13848306/pages.zip)\r\n\r\nlocalhost:3000 (correct)\r\n\r\n\r\nlocalhost:3000/myUser (correct)\r\n\r\n\r\nlocalhost:3000/myUser/myPage (incorrect)\r\n\r\n\r\nIt is showing `[username].vue`. I expect it to be showing `[page].vue` like this\r\n\r\n\r\nIt does work if I delete [username].vue.\r\n\r\n\r\n### Describe the bug\r\n\r\nA nested directory structure like this\r\n\r\n```\r\npages\r\n├── [username]\r\n│ └── [page].vue\r\n├── [username].vue\r\n└── index.vue\r\n```\r\n\r\nFails to render localhost:3000/myUser/myPage as [page].vue. It renders [username.vue].\r\n\r\nI RTFM, and I'm pretty sure this is how to set it up, but if I got it wrong please let me know.\r\n\r\nThanks!\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2003,2006,2009],{"name":2004,"color":2005},"good first issue","fbca04",{"name":2007,"color":2008},"dx","C39D69",{"name":2010,"color":2011},"🍰 p2-nice-to-have","0E8A16",25077,"Warn in dev mode if nested route without `\u003CNuxtPage />` exists","2024-06-30T11:06:22Z","https://github.com/nuxt/nuxt/issues/25077",0.65693766,{"description":2018,"labels":2019,"number":2027,"owner":1994,"repository":1994,"state":2028,"title":2029,"updated_at":2030,"url":2031,"score":2032},"### Environment\r\n\r\nNuxt project info: 6:55:53 PM\r\n\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v18.17.1\r\n- Nuxt Version: 3.7.4\r\n- CLI Version: 3.9.0\r\n- Nitro Version: 2.6.3\r\n- Package Manager: npm@9.6.7\r\n- Builder: -\r\n- User Config: app, css, devtools, modules, runtimeConfig, plugins, vite, routeRules, pinia, imports\r\n- Runtime Modules: @nuxtjs/tailwindcss@6.8.0, @vite-pwa/nuxt@0.1.1, nuxt-typed-router@3.3.1, @nuxtjs/robots@3.0.0, @nuxtjs/color-mode@3.3.0, nuxt-lodash@2.5.0, nuxt-swiper@1.2.2, (), nuxt-laravel-precognition@0.0.7, @morev/vue-transitions/nuxt@2.3.6, @nuxtjs/i18n@8.0.0-rc.5, nuxt-headlessui@1.1.4, @nuxt/image@1.0.0-rc.3, @pinia/nuxt@0.4.11\r\n- Build Modules: -\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\nneed to explain what is this error\r\n\r\n### Describe the bug\r\n\r\n\r\nwhen routing in any pages this error showing but i routing with nuxt-link with static pages and modules not used in this project please help.\r\n\r\nthx\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2020,2023,2024],{"name":2021,"color":2022},"3.x","29bc7f",{"name":1988,"color":1989},{"name":2025,"color":2026},"needs reproduction","FBCA04",23556,"closed","route to pages problem","2024-01-02T21:24:49Z","https://github.com/nuxt/nuxt/issues/23556",0.62399024,{"description":2034,"labels":2035,"number":2041,"owner":1994,"repository":1994,"state":2028,"title":2042,"updated_at":2043,"url":2044,"score":2045},"### Environment\n\nOperating System: Darwin\nNode Version: v22.12.0\nNuxt Version: 3.15.3\nCLI Version: 3.22.5\nNitro Version: 2.11.6\nPackage Manager: pnpm@9.5.0\nBuilder: -\nUser Config: -\nRuntime Modules: -\nBuild Modules: -\n\n### Reproduction\n\nno reproduction\n\n### Describe the bug\n\nThis is happening on switching layouts on navigating between pages, only in production.\n\n\u003Cimg width=\"958\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/8841e6f3-63e1-4136-b88b-daedd8b43e01\" />\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2036,2037,2038],{"name":1988,"color":1989},{"name":2025,"color":2026},{"name":2039,"color":2040},"possible regression","B90A42",31343,"Couldn't resolve component default at /route/:slug()","2025-03-18T12:00:46Z","https://github.com/nuxt/nuxt/issues/31343",0.6428606,{"labels":2047,"number":2051,"owner":1994,"repository":1994,"state":2028,"title":2052,"updated_at":2053,"url":2054,"score":2055},[2048,2049,2050],{"name":2021,"color":2022},{"name":1988,"color":1989},{"name":2025,"color":2026},14155,"nested NuxtPage not rendering","2023-01-19T17:26:33Z","https://github.com/nuxt/nuxt/issues/14155",0.644002,{"description":2057,"labels":2058,"number":2060,"owner":1994,"repository":1994,"state":2028,"title":2061,"updated_at":2062,"url":2063,"score":2064},"### Environment\r\n\r\nBug is happening since nuxt 3.6.2, especially this commit: https://github.com/nuxt/nuxt/commit/d0dde6426fe6ae58ec1ea94e47c66f6e0e2a4d63\r\n\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v20.10.0\r\n- Nuxt Version: -\r\n- CLI Version: 3.10.1\r\n- Nitro Version: -\r\n- Package Manager: npm@10.2.3\r\n- Builder: -\r\n- User Config: -\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/github-debhpn?file=app.vue\r\n\r\n### Describe the bug\r\n\r\n_Because I didn't want to create components that are big, please use performance tab in devtools and slow down CPU as much as possible so you can see the effect. Bug is happening in dev and after generating. But in real project this can be visible even without cpu slowdown._\r\n\r\nWhen using lazy components with nested routes, nuxt does not wait for page to generate/load all components before removing old node. This causes page to blink. When keeping same route but different url this problem does not happen (See video, name of the route is on top).\r\n\r\n3.6.2+ (On video 10.3.1 [Stackblitz](https://stackblitz.com/edit/github-debhpn?file=app.vue))\r\n\r\nhttps://github.com/nuxt/nuxt/assets/34748386/172f4f8f-0f0b-4092-b36a-5a0b9093a971\r\n\r\n3.6.1 ([Stackblitz](https://stackblitz.com/edit/github-debhpn-vunj6r?file=package.json))\r\n\r\nhttps://github.com/nuxt/nuxt/assets/34748386/3d29d506-33c1-44c7-b808-0a6246e1da1e\r\n\r\n\r\n### Additional context\r\n\r\nI'm working with CMS and I want to get list of components used in page and generate static page based on that. I've also noticed that [this function](https://github.com/nuxt/nuxt/blob/5dc96de8a928d10e90f47d9941ed7402328b1e3f/packages/nuxt/src/pages/runtime/page.ts#L71) is called twice when changing routes\r\n\r\nWorkarounds:\r\n\r\n- Register component globally\r\n- Use catch all route and handle everything there thus not changing route do not cause this issue.\r\n- Add page transition to hide this blink (even 0.3s works for me)\r\n\r\n### Logs\r\n\r\n_No response_",[2059],{"name":1988,"color":1989},26258,"Page is being rendered twice when using nested routes with async components.","2024-12-09T14:53:26Z","https://github.com/nuxt/nuxt/issues/26258",0.6487075,{"description":2066,"labels":2067,"number":2072,"owner":1994,"repository":1994,"state":2028,"title":2073,"updated_at":2074,"url":2075,"score":2076},"### Environment\n\n- Operating System: Linux\n- Node Version: v18.20.3\n- Nuxt Version: 3.15.4\n- CLI Version: 3.21.1\n- Nitro Version: 2.10.4\n- Package Manager: npm@10.2.3\n- Builder: -\n- User Config: compatibilityDate, devtools\n- Runtime Modules: -\n- Build Modules: -\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-yxcyvzuh?file=app.vue,pages/index.vue,pages/foo.vue,pages/foo/index.vue\n\n### Describe the bug\n\nWhen we navigate to a nested route, like:\n```\npages/\n foo.vue\n foo/\n index.vue/\n```\n\nthe `page:finish` hook gets called twice\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2068,2071],{"name":2069,"color":2070},"documentation","5319e7",{"name":1988,"color":1989},31159,"`page:finish` is called multiple times for nested routes","2025-03-28T14:07:00Z","https://github.com/nuxt/nuxt/issues/31159",0.6507151,{"description":2078,"labels":2079,"number":2082,"owner":1994,"repository":1994,"state":2028,"title":2083,"updated_at":2084,"url":2085,"score":2086},"### Environment\n\nNuxt project info: 10:47:31 AM\r\n\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v20.10.0\r\n- Nuxt Version: 3.10.1\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.1\r\n- Package Manager: yarn@1.22.5\r\n- Builder: -\r\n- User Config: devtools, css, modules, tailwindcss, app\r\n- Runtime Modules: @nuxtjs/tailwindcss@6.11.3, @nuxtjs/color-mode@3.3.2\r\n- Build Modules: -\n\n### Reproduction\n\nTo reproduce the issue: \r\n1. run `nuxt build` on [this project](https://github.com/AbandonTech/abandontechsite/tree/demo/broken-about-page) (ensure you are on the dedicated branch that has this issue). \r\n2. Navigate to the `About` page\r\n3. Navigate to any other page,\r\n4. Navigate back to the `About` page, duplicate pages will be rendered on the app and will continue infinitely as long as you keep navigating.\r\n\r\n(Currently the hosted version at https://demo.abandontech.cloud/ has this bug and I will refrain from updating it temporarily incase anyone would like to demo it live)\r\n(working on creating a minimal reproduction)\r\n\r\nThis is reproducible on linux and windows, in docker, and after building from a github action.\n\n### Describe the bug\n\nI am unable to find the specific cause of this issue, but when navigating between a specific, problem `page` (the about page), then navigating away from this page, then navigating back to the problem page, other pages will be duplicated/embedded on the application. The application enters a broken state where navigating to other pages (using NuxtLink) results in each new page being rendered on the existing screen/application and infinitely expanding\r\n\r\nTo fix the issue, the contents of the about.vue page can be wrapped in a single `div`, making the component ClientOnly, or using a NuxtIsland.\r\n\n\n### Additional context\n\nThe issue is only reproducible on the built version of the app. The issue is not observable when using `yarn dev` to run the project.\r\n\r\nThe hosted demo site complains about a hydration issue, but I have fixed the hydration issue and have confirmed the page duplication bug still exists.\r\n\r\nAttached is an image of the expected result of navigating to the `About` page as well as the result of navigating away and back to the `About` page many times \r\n\r\n\r\n\r\n\r\n\n\n### Logs\n\n```shell-script\nNo logs or error output generated\n```\n",[2080,2081],{"name":2021,"color":2022},{"name":1988,"color":1989},26706,"Routing to Nuxt page with multiple top-level divs on built project results in duplicate pages being rendered on one route/page","2025-01-10T03:51:42Z","https://github.com/nuxt/nuxt/issues/26706",0.6521165,{"description":2088,"labels":2089,"number":2092,"owner":1994,"repository":1994,"state":2028,"title":2093,"updated_at":2094,"url":2095,"score":2096},"### Environment\r\n\r\nOS: Windows 11 Education (23H2 | Build 22631.2861)\r\nNode.js: 20.11.0 (via [nvm-windows](https://github.com/coreybutler/nvm-windows))\r\n\r\n```\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v20.11.0\r\n- Nuxt Version: 3.9.1\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.1\r\n- Package Manager: npm@10.2.4\r\n- Builder: -\r\n- User Config: devtools\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\r\n```\r\n\r\n### Reproduction\r\n\r\nLink: https://github.com/44kia244/sample-nested-route-not-working\r\nStackblitz: https://stackblitz.com/github/44kia244/sample-nested-route-not-working\r\n**\\*\\* Running on stackblitz won't be able to reproduce this bug, it needs to be Windows \\*\\***\r\n\r\n**Step 1**: Run `npx nuxi@latest init my-project` to create a project, select `npm` as the package manager\r\n**Step 2**: In the project, create following files in `pages` directory\r\n\r\n`pages/index.vue`\r\n```vue\r\n\u003Ctemplate>\r\n \u003Ch1>Hello, World!\u003C/h1>\r\n\u003C/template>\r\n```\r\n\r\n`pages/users.vue`\r\n```vue\r\n\u003Ctemplate>\r\n \u003Ch1>Users\u003C/h1>\r\n \u003CNuxtPage />\r\n\u003C/template>\r\n```\r\n\r\n`pages/users/index.vue`\r\n```vue\r\n\u003Ctemplate>\r\n \u003Ch1>Hi, I'm inside :D\u003C/h1>\r\n\u003C/template>\r\n```\r\n\r\nStep 3: Run `npm run dev`\r\nStep 4: Launch a browser window, go to `http://localhost:3000/users`\r\n\r\n### Describe the bug\r\n\r\nI'm trying to implement pages using [nested routes](https://nuxt.com/docs/guide/directory-structure/pages#nested-routes).\r\n\r\nI expect the child page (`pages/users/index.vue`) to be rendered at the `\u003CNuxtPage>` position in the parent page (`pages/users.vue`). But I got just the child page without the parent outside of it.\r\n\r\nBased on the reproduction, this is what I got when running on Windows.\r\n\r\n\r\nAnd this is what I got when running on stackblitz\r\n\r\n\r\nI tried changing this, working normally\r\n```diff\r\ndiff --git a/packages/nuxt/src/pages/utils.ts b/packages/nuxt/src/pages/utils.ts\r\nindex f24ba65aa..84efcf89f 100644\r\n--- a/packages/nuxt/src/pages/utils.ts\r\n+++ b/packages/nuxt/src/pages/utils.ts\r\n@@ -51,7 +51,7 @@ export async function resolvePagesRoutes (): Promise\u003CNuxtPage[]> {\r\n const files = await resolveFiles(dir, `**/*{${nuxt.options.extensions.join(',')}}`)\r\n scannedFiles.push(...files.map(file => ({ relativePath: relative(dir, file), absolutePath: file })))\r\n }\r\n- scannedFiles.sort((a, b) => a.relativePath.localeCompare(b.relativePath))\r\n+ scannedFiles.sort((a, b) => a.relativePath.localeCompare(b.relativePath, 'en-US'))\r\n \r\n const allRoutes = await generateRoutesFromFiles(uniqueBy(scannedFiles, 'relativePath'), nuxt.options.experimental.typedPages, nuxt.vfs)\r\n \r\n```\r\n\r\n\r\n### Additional context\r\n\r\n- Please note that the nested routes feature is working fine on macOS or Docker (as far as I tested).\r\n- Tried using `npm run generate` then serve the `.output/public` as a static website, doesn't work either.\r\n- I noticed the difference between running on Windows and Docker is the warning message \"Route name generated for D:/sample-nested-route-not-working/pages/users.vue is the same as D:/sample-nested-route-not-working/pages/users/index.vue. You may wish to set a custom name using definePageMeta within the page file.\"\r\n- It seems to be a difference when using `localeCompare` on Windows (My system locale is `th-TH`).\r\n\r\n\r\n\r\n### Logs\r\n\r\n```shell-script\r\nPS D:\\sample-nested-route-not-working> npm run dev \r\n\r\n> dev\r\n> nuxt dev\r\n\r\nNuxt 3.9.1 with Nitro 2.8.1 01:48:50\r\n 01:48:50\r\n ➜ Local: http://localhost:3000/\r\n ➜ Network: use --host to expose\r\n\r\n ➜ DevTools: press Shift + Alt + D in the browser (v1.0.8) 01:48:51\r\n\r\n\r\n[01:48:52] WARN Route name generated for D:/sample-nested-route-not-working/pages/users.vue is the same as D:/sample-nested-route-not-working/pages/users/index.vue. You may wish to set a custom name using definePageMeta within the page file.\r\n\r\nℹ Vite client warmed up in 623ms 01:48:53\r\nℹ Vite server warmed up in 674ms 01:48:53\r\n✔ Nitro built in 374 ms\r\n```\r\n",[2090,2091],{"name":2021,"color":2022},{"name":1988,"color":1989},25193,"Nested routes not working on Windows on locale th-TH","2024-01-14T11:54:24Z","https://github.com/nuxt/nuxt/issues/25193",0.6528167,{"description":2098,"labels":2099,"number":2103,"owner":1994,"repository":1994,"state":2028,"title":2104,"updated_at":2105,"url":2106,"score":2107},"### Environment\n\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v18.15.0\r\n- Nuxt Version: 3.6.5\r\n- Nitro Version: 2.5.2\r\n- Package Manager: npm@9.5.0\r\n- Builder: vite\r\n- User Config: runtimeConfig, modules, image, sitemap, jsoneditor, colorMode, css, routeRules\r\n- Runtime Modules: @nuxtjs/tailwindcss@6.8.0, @pinia/nuxt@0.4.11, @pinia-plugin-persistedstate/nuxt@1.1.1, @nuxtjs/color-mode@3.3.0, nuxt-jsoneditor@1.7.0, nuxt-simple-sitemap@0.5.10, @nuxt/image-edge@1.0.0-rc.1-28164352.ad7c010\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nNot now\n\n### Describe the bug\n\nAfter updating to nuxt 3 3.6.5 from 3.5.* trailingSlash removed. Is there any way to enable this feature because for SEO this is bad\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2100,2101,2102],{"name":2021,"color":2022},{"name":1988,"color":1989},{"name":2025,"color":2026},22254,"/user/ redirect to /user ","2023-09-29T04:42:54Z","https://github.com/nuxt/nuxt/issues/22254",0.6560978,["Reactive",2109],{},["Set"],["ShallowReactive",2112],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"L-ZdOqBjlhCKFHfhDkzDmZipsNMPs7l0bwpSnXfHZhI":-1},"/nuxt/nuxt/30388"]