\r\n \u003C/NuxtLayout>\r\n\u003C/template>\r\n```\r\nChange the pages directory to something else in `nuxt.config.ts`.\r\n```ts\r\n// https://nuxt.com/docs/api/configuration/nuxt-config\r\nexport default defineNuxtConfig({\r\n dir: {\r\n pages: \"routes\"\r\n }\r\n});\r\n```\r\nMake sure to not have anything in the pages directory.\n\n### Describe the bug\n\nNuxt throws info message `Create a Vue component in the pages/ directory to enable \u003CNuxtPage>` instead of `Create a Vue component in the (pages dir)/ directory to enable \u003CNuxtPage>`.\n\n### Additional context\n\nLiterally no one cares, but I get annoyed by anything.\n\n### Logs\n\n_No response_",[2024,2025],{"name":2001,"color":2002},{"name":2011,"color":2012},20064,"\u003CNuxtPage> info message does not take custom pages dir into account","2023-04-04T13:18:31Z","https://github.com/nuxt/nuxt/issues/20064",0.649564,{"description":2032,"labels":2033,"number":2035,"owner":1984,"repository":1984,"state":1985,"title":2036,"updated_at":2037,"url":2038,"score":2039},"I'm trying to discover `nuxt` CLI capabilities as for every other npm lib (I wanted to know whether there is possibility to point to `nuxt.config.js` from other place). So I try:\r\n1. `./node_modules/.bin/nuxt --help` (with `nuxt` in dependencies in `package.json`)\r\n2. `nuxt --help` (with `nuxt` installed globally)\r\nIn both cases I get:\r\n```\r\n> No `pages` directory found. Did you mean to run `nuxt` in the parent (`../`) directory?\r\n```\r\nand nothing more :-(\r\n\r\nIt would be great to have possibility to call `nuxt` from any place, so it would fail on `nuxt build` maybe, but not on `nuxt --help` etc.\r\n\r\nBTW: I have `pages` directory same directory as where I run `nuxt --help`, but same error appears... But it's outside the scope of this issue.\n\n\u003C!--cmty-->\u003C!--cmty_prevent_hook-->\n\u003Cdiv align=\"right\">\u003Csub>\u003Cem>This question is available on \u003Ca href=\"https://nuxtjs.cmty.io\">Nuxt.js\u003C/a> community (\u003Ca href=\"https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c468\">#c468\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2034],{"name":2014,"color":2015},539,"Allow calling nuxt without `pages` directory","2023-01-18T15:39:30Z","https://github.com/nuxt/nuxt/issues/539",0.65088993,{"description":2041,"labels":2042,"number":2051,"owner":1984,"repository":1984,"state":1985,"title":2052,"updated_at":2053,"url":2054,"score":2055},"### Environment\n\n------------------------------ \r\n- Operating System: `Windows_NT` \r\n- Node Version: `v16.17.0` \r\n- Nuxt Version: `3.2.2`\r\n- Nitro Version: `2.2.2`\r\n- Package Manager: `npm@8.18.0` \r\n- Builder: `vite`\r\n- User Config: `app`, `router`, `ssr`, `css`, `build`, `nitro`, `typescript`, `modules`, `srcDir`, `imports`, `runtimeConfig`, `components` \r\n- Runtime Modules: `@pinia/nuxt@0.4.6`\r\n- Build Modules: `-`\r\n------------------------------ \n\n### Reproduction\n\nhttps://github.com/joel-wenzel/nuxt3-exclude-pages\n\n### Describe the bug\n\nIt seems .nuxtignore or `ignore` property in nuxt.config is the only way to exclude pages. It works great but it also excludes HMR updates which isnt ideal.\r\n\r\nThe specific scenario is keeping components or composables closer to the page index. Changes to these should trigger HMR updates but not generate a page.\r\n\r\nThe only way to update these ignore files is restarting the dev server. This was possible in nuxt 2.\n\n### Additional context\n\nTo reproduce:\r\n\r\n- clone provided repo\r\n- npm run dev\r\n- navigate to the `test` page\r\n- try changing anything in pages/test/components/HelloTest.vue component\r\n- no HMR update triggers\n\n### Logs\n\n_No response_",[2043,2044,2047,2048],{"name":1998,"color":1999},{"name":2045,"color":2046},"discussion","538de2",{"name":2001,"color":2002},{"name":2049,"color":2050},"workaround available","11376d",19155,"ability to configure glob pattern used to match pages","2023-02-21T13:39:37Z","https://github.com/nuxt/nuxt/issues/19155",0.6641404,{"description":2057,"labels":2058,"number":2061,"owner":1984,"repository":1984,"state":1985,"title":2062,"updated_at":2063,"url":2064,"score":2065},"### Environment\n\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v16.14.2\r\n- Nuxt Version: 3.4.3\r\n- Nitro Version: 2.4.0\r\n- Package Manager: npm@7.17.0\r\n- Builder: vite\r\n- User Config: modules\r\n- Runtime Modules: ./modules/test-module\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-hcx5za\n\n### Describe the bug\n\nIf `pages/` directory is not created or is empty and all of the pages are defined using `extendPages` in module, it throws warning:\r\n\r\n`Create a Vue component in the pages/ directory to enable \u003CNuxtPage>`\r\n\r\nand shows blank page.\r\n\r\nIf you create e.g. `pages/test.vue`, warning goes away and displays the intended page.\n\n### Additional context\n\nAlso this warning goes away, if I create `app/router.options.ts` file.\n\n### Logs\n\n_No response_",[2059,2060],{"name":2001,"color":2002},{"name":2011,"color":2012},20801,"\u003CNuxtPage> info message does not look up for module pages","2023-05-15T12:47:31Z","https://github.com/nuxt/nuxt/issues/20801",0.66548187,{"labels":2067,"number":2078,"owner":1984,"repository":1984,"state":1985,"title":2079,"updated_at":2080,"url":2081,"score":2082},[2068,2069,2072,2075],{"name":2001,"color":2002},{"name":2070,"color":2071},"bug","d73a4a",{"name":2073,"color":2074},"cli","09F665",{"name":2076,"color":2077},"pages","00DFB5",11760,"Changing pages causes full nuxt restart","2023-01-19T15:47:38Z","https://github.com/nuxt/nuxt/issues/11760",0.6756415,{"labels":2084,"number":2087,"owner":1984,"repository":1984,"state":1985,"title":2088,"updated_at":2089,"url":2090,"score":2091},[2085,2086],{"name":2001,"color":2002},{"name":2011,"color":2012},13135,"If the dev server is running, nuxt wont configure vue-router if we add the pages directory with index.vue","2023-01-19T16:52:40Z","https://github.com/nuxt/nuxt/issues/13135",0.6769911,["Reactive",2093],{},["Set"],["ShallowReactive",2096],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"SzAS44iliTYLwdm7HxMMB8WXjt-g1kEEZm8Qaa22_wI":-1},"/nuxt/nuxt/13164"]