\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\nAnd the run:\r\n`npx nuxi generate`\n\n### Describe the bug\n\nI want to get a static HTML output for my project (so that i spin up nginx and host the app with it) with the following structure (for example):\r\n-- /\r\n-- /nuxt\r\n---- *whatever js files nuxt needs*\r\n-- /css\r\n---- style.css\r\n-- index.html\r\n\r\nBut when I run `npx nuxi generate` (The official [Nuxt docs](https://nuxt.com/docs/getting-started/deployment#crawl-based-pre-rendering) state that this is the way to get static HTML) I end up with this folder structure:\r\n\u003Cimg width=\"1351\" alt=\"image\" src=\"https://user-images.githubusercontent.com/21990466/212471044-10722443-dc2d-4fd9-88bc-b22f32597ee7.png\">\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3048,3049,3050],{"name":3034,"color":3035},{"name":3037,"color":3038},{"name":3051,"color":3052},"needs reproduction","FBCA04",12415,"Static HTML is not generated","2023-01-21T09:54:16Z","https://github.com/nuxt/nuxt/issues/12415",0.60118514,{"description":3059,"labels":3060,"number":3063,"owner":3025,"repository":3025,"state":3040,"title":3064,"updated_at":3065,"url":3066,"score":3067},"### Environment\n\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v18.7.0`\r\n- Nuxt Version: `3.2.2`\r\n- Nitro Version: `2.2.2`\r\n- Package Manager: `pnpm@7.5.2`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\n\n### Reproduction\n\nhttps://github.com/Intevel/nuxt-netlify-404\n\n### Describe the bug\n\nA strange bug reported on the Discord, related Post: https://discord.com/channels/473401852243869706/1077514559839010886\r\n\r\nIn the project there is a Dynamic Route, in the Reproduction under `pages/packages/[slug].vue`.\r\n\r\nWith `nuxi generate` the page is not prerendered, in a Netlify deployment this leads to Netlify setting a 404 response status code but rendering the page anyway.\r\n\r\nAt first we thought it was a Netlify problem because the 404 error did not occur locally. And the 404 error was the reported problem.\r\nI tried deploying it to Vercel, and it worked there. With the only difference that Vercel deploys with `nuxt build`, and I think then nitro adds `routeRules` for static routes.\r\n\r\nAlso, no HTML file is created for the dynamic page, and `view-source:` in the browser does not show the direct markup content either, which is definitely bad for SEO.\r\n\r\n/cc @madebyfabian @sharkfin009\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3061,3062],{"name":3034,"color":3035},{"name":3037,"color":3038},19191,"`nuxi generate` doesn't prerender dynamic pages","2023-02-21T11:30:17Z","https://github.com/nuxt/nuxt/issues/19191",0.6114249,{"description":3069,"labels":3070,"number":3073,"owner":3025,"repository":3025,"state":3040,"title":3074,"updated_at":3075,"url":3076,"score":3077},"### Environment\n\n- Operating System: `Windows_NT`\r\n- Node Version: `v16.19.0`\r\n- Nuxt Version: `3.0.0`\r\n- Nitro Version: `1.0.0`\r\n- Package Manager: `npm@8.19.3`\r\n- Builder: `vite`\r\n- User Config: `ssr`, `routeRules`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\n\n### Reproduction\n\nhttps://github.com/jackdomleo7/nuxt3-simple-static\n\n### Describe the bug\n\nThe Nuxt 3 documentation regarding Nuxt 3 states that static site generation should be as simple as setting `ssr: false`, using `nuxi generate` and potentially using `routeRules`. Despite doing this, the site doesn't seem to be rendering statically.\r\n\r\n\r\n\r\nThis is my Nuxt config:\r\n\r\n```ts\r\nexport default defineNuxtConfig({\r\n ssr: false,\r\n routeRules: {\r\n '/': { static: true },\r\n '/**': { static: true }\r\n }\r\n})\r\n```\r\n\r\nWhen you run the reproduction repo and run `npm run generate` (`nuxi generate -m`), it successfully creates the `dist` directory, but I'd expect there to be static content inside the `dist/index.html` file, e.g.\r\n\r\n```html\r\n\u003Cdiv>\r\n \u003Ch1>Hello, world!\u003C/h1>\r\n \u003Cp>I am a static site built with Nuxt 3.\u003C/p>\r\n\u003C/div>\r\n```\r\n\r\nInstead, it does not.\r\n\r\n\r\n\r\n\r\nEither, my understanding has defeated me or there is something missing or not quite correct in the Nuxt 3 documentation.\n\n### Additional context\n\nI've tried with Node 16 & Node 18, and with npm 8/9 and pnpm 7 and I get the same results.\n\n### Logs\n\n```shell\n> nuxi generate -m\r\n\r\nNuxi 3.0.0 08:51:03\r\nNuxt 3.0.0 with Nitro 1.0.0 08:51:03\r\n\r\n WARN Using experimental payload extraction for full-static output. You can opt-out by setting experimental.payloadExtraction to false.\r\n\r\ni Client built in 1681ms 08:51:07\r\ni Building server... 08:51:07\r\n√ Server built in 888ms 08:51:08\r\n√ Generated public .output/public nitro 08:51:08\r\ni Initializing prerenderer nitro 08:51:08\r\ni Prerendering 3 initial routes with crawler nitro 08:51:09\r\n ├─ /index.html (18ms) nitro 08:51:09\r\n ├─ /200.html (3ms) nitro 08:51:09\r\n ├─ /404.html (5ms) nitro 08:51:09\r\n√ You can now deploy .output/public to any static hosting!\n```\n",[3071,3072],{"name":3019,"color":3020},{"name":3034,"color":3035},12393,"Documentation is not very clear regarding static site generation in Nuxt 3","2023-02-06T23:25:55Z","https://github.com/nuxt/nuxt/issues/12393",0.62309057,{"labels":3079,"number":3082,"owner":3025,"repository":3025,"state":3040,"title":3083,"updated_at":3084,"url":3085,"score":3086},[3080,3081],{"name":3034,"color":3035},{"name":3037,"color":3038},14459,"nuxt3 static mode runtime server fallbacks to index.html","2023-11-10T21:01:26Z","https://github.com/nuxt/nuxt/issues/14459",0.6248939,{"labels":3088,"number":3091,"owner":3025,"repository":3025,"state":3040,"title":3092,"updated_at":3093,"url":3094,"score":3095},[3089,3090],{"name":3034,"color":3035},{"name":3037,"color":3038},14115,"Generate is missing pages","2023-01-19T17:24:45Z","https://github.com/nuxt/nuxt/issues/14115",0.6344725,{"description":3097,"labels":3098,"number":3100,"owner":3025,"repository":3025,"state":3040,"title":3101,"updated_at":3102,"url":3103,"score":3104},"### Environment\r\n\r\nWorking directory: /Users/zephod/code/dp/tmp6\r\nNuxt project info: (copied to clipboard)\r\n\r\n------------------------------\r\n- Operating System: Darwin\r\n- Node Version: v18.17.1\r\n- Nuxt Version: 3.12.0\r\n- CLI Version: 3.12.0\r\n- Nitro Version: 2.9.7\r\n- Package Manager: yarn@1.22.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\n```bash\r\nnuxi create tmp\r\ncd tmp\r\nyarn\r\nyarn generate\r\nls .output/public\r\n```\r\n\r\nResult:\r\n\r\n```\r\n200.html 404.html _nuxt favicon.ico\r\n```\r\n\r\n\r\n### Describe the bug\r\n\r\nSince Nuxt 3.12.0, the `nuxt generate` command does not work as documented.\r\n\r\n* This occurs even using the simplest template from `nuxi create`\r\n* It says \"✔ You can now deploy .output/public to any static hosting!\"\r\n* The .output/public folder does not contain an index.html file.\r\n\r\nI've experimented with alternative structures: Adding pages, adding layouts, removing app.vue. Still no static .html files are generated, except for 200.html and 404.html.\r\n\r\nReverting to Nuxt 3.11.2, deleting yarn.lock and rerunning `yarn && yarn generate` fixes the problem.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[3099],{"name":3037,"color":3038},28042,"\"nuxt generate\" no longer produces index.html","2024-07-05T12:02:58Z","https://github.com/nuxt/nuxt/issues/28042",0.63586146,{"description":3106,"labels":3107,"number":3110,"owner":3025,"repository":3025,"state":3040,"title":3111,"updated_at":3112,"url":3113,"score":3114},"### Environment\r\n\r\nNuxi 3.5.3 12:10:46 PM\r\n 12:10:50 PM 12:10:50 PM\r\nNuxt project info: 12:10:50 PM \r\n\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v18.11.0\r\n- Nuxt Version: 3.5.3\r\n- Nitro Version: 2.5.2\r\n- Package Manager: npm@9.6.5\r\n- Builder: vite\r\n- User Config: ssr, hooks, vue, nitro, css, vite, postcss, app, modules, content, googleSignIn, runtimeConfig, \r\ndevtools\r\n- Runtime Modules: nuxt-vue3-google-signin@0.0.8, @pinia/nuxt@0.4.11, @nuxt/content@2.7.0, @pinia/nuxt@0.4.11, @nuxtjs/color-mode@3.3.0\r\n- Build Modules: -\r\n------------------------------\r\n\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/nuxt3-generate-test?file=README.md\r\n\r\n### Describe the bug\r\n\r\nContinuing the bug reported here , Nuxt generate not working with pages, in Nuxt 3.6, \r\nhttps://github.com/nuxt/nuxt/issues/22072\r\n\r\nContent md files are not generated in nuxt 3.6\r\n\r\nI switched to nuxt 3.5 the Pages are generating in `npx nuxi generate` , **now the problem is the routes are still not generating for nuxt content,** \r\n\r\n\r\nHere is my nuxt.config.ts\r\n```\r\n ssr: true,\r\n nitro: {\r\n preset: 'static',\r\n prerender: {\r\n crawlLinks: true,\r\n // routes:['/','/dashboard','/docs','/login','/register','/reset-password'] // this thing work , but needs to be automated ?\r\n }\r\n```\r\n\r\n### Additional context\r\n\r\n\r\nI can see the logs it shows this :\r\n\r\n\r\n\r\n\r\nBut visiting the use the json shows empty \r\n\r\n\r\n\r\nResult : Nothing is getting fetched \r\n\r\n\r\n\r\n\r\n### Logs\r\n\r\n```shell-script\r\nnitro 10:53:04 AM] ├─ /api/_content/query/M5k2JI3fg2.1689052855198/eyJ3aGVyZSI6W3siX3BhcnRpYWwiOnsiJG5vdCI6dHJ1ZX0sIm5hdmlnYXRpb24iOnsiJG5vdCI6ZmFsc2V9fV0sIndpdGhvdXQi/OlsiYm9keSJdLCJzdXJyb3VuZCI6eyJxdWVyeSI6Ii9kYXNoYm9hcmQvczJ1L21hbmFnZSJ9LCJzb3J0IjpbeyJfZmlsZSI6MSwi/JG51bWVyaWMiOnRydWV9XX0.json (38ms) \r\n ├─ /docs/_payload.json (2ms) nitro 10:53:04 AM\r\n[nitro 10:53:04 AM] ├─ /api/_content/query/kF5Ak5ecZU.1689052855198/eyJ3aGVyZSI6W3siX3BhdGgiOiIvZG9jcyJ9XSwiZmlyc3QiOnRydWUsInNvcnQiOlt7Il9maWxlIjoxLCIkbnVtZXJpYyI6dHJ1/ZX1dfQ.json (3ms) (Error: [404] Document not found!)\r\n```\r\n",[3108,3109],{"name":3034,"color":3035},{"name":3037,"color":3038},22084,"Nuxt 3.6 | 3.5.3 - Content + Pages not getting generated routes | Static","2023-07-20T12:55:27Z","https://github.com/nuxt/nuxt/issues/22084",0.63730305,{"description":3116,"labels":3117,"number":3120,"owner":3025,"repository":3025,"state":3040,"title":3121,"updated_at":3122,"url":3123,"score":3124},"### Environment\n\n$ nuxi info\r\nNuxi 3.0.0\r\n\r\nRootDir: ~/Documents/GitHub/nuxt-3-layout-static-generation-bug/nuxt-app\r\nNuxt project info: \r\n\r\n------------------------------ \r\n- Operating System: `Windows_NT`\r\n- Node Version: `v18.12.1`\r\n- Nuxt Version: `3.0.0`\r\n- Nitro Version: `1.0.0`\r\n- Package Manager: `yarn@1.22.5`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\r\n\r\n👉 Report an issue: https://github.com/nuxt/framework/issues/new\r\n\r\n👉 Suggest an improvement: https://github.com/nuxt/framework/discussions/new\r\n\r\n👉 Read documentation: https://v3.nuxtjs.org\n\n### Reproduction\n\nRepository: https://github.com/lloydtao/nuxt-3-layout-static-generation-bug\r\n\r\nSteps:\r\n1. `cd nuxt-app/`\r\n2. `yarn generate`\r\n3. `yarn preview`\r\n4. Open http://localhost:3000/example\r\n\n\n### Describe the bug\n\nGenerated pages are served unpredictably incorrectly.\r\n\r\nI was working on another project when I noticed random behaviours, including:\r\n\r\n- Pages rendering inside the layout of the home page (`pages/index/vue`)\r\n- Home page rendering inside another page if that page uses the same layout as the home page\r\n\r\nI created a minimal reproduction with two pages and no layouts. \r\n\r\nAfter running `nuxi generate`, the outputs appear to contain the correct contents. However, when running `nuxi preview`, both pages contain the contents of the home page.\r\n\r\n\n\n### Additional context\n\nI fully re-installed Node v18.12.1, and the reproduction is in a brand new repository. No luck.\n\n### Logs\n\n```shell\n### Home page\r\n\r\n\r\n HTTP 04/01/2023 00:03:13 ::1 GET /\r\n HTTP 04/01/2023 00:03:13 ::1 Returned 304 in 1 ms \r\n HTTP 04/01/2023 00:03:13 ::1 GET /_payload.js\r\n HTTP 04/01/2023 00:03:13 ::1 GET /_nuxt/entry.df991f52.js\r\n HTTP 04/01/2023 00:03:13 ::1 GET /_nuxt/index.ab7e5026.js\r\n HTTP 04/01/2023 00:03:13 ::1 Returned 304 in 4 ms \r\n HTTP 04/01/2023 00:03:13 ::1 Returned 304 in 3 ms \r\n HTTP 04/01/2023 00:03:13 ::1 Returned 304 in 3 ms \r\n HTTP 04/01/2023 00:03:13 ::1 GET /_nuxt/error-component.7bda1361.js\r\n HTTP 04/01/2023 00:03:13 ::1 Returned 304 in 1 ms \r\n HTTP 04/01/2023 00:03:13 ::1 GET /favicon.ico\r\n HTTP 04/01/2023 00:03:13 ::1 Returned 304 in 2 ms \r\n```\r\n\r\n### Example page\r\n\r\n```\r\n HTTP 04/01/2023 00:03:49 ::1 GET /example\r\n HTTP 04/01/2023 00:03:49 ::1 Returned 304 in 1 ms \r\n HTTP 04/01/2023 00:03:49 ::1 GET /_payload.js\r\n HTTP 04/01/2023 00:03:49 ::1 GET /_nuxt/entry.df991f52.js\r\n HTTP 04/01/2023 00:03:49 ::1 Returned 304 in 4 ms \r\n HTTP 04/01/2023 00:03:49 ::1 GET /_nuxt/index.ab7e5026.js\r\n HTTP 04/01/2023 00:03:49 ::1 Returned 304 in 3 ms \r\n HTTP 04/01/2023 00:03:49 ::1 Returned 304 in 2 ms \r\n HTTP 04/01/2023 00:03:49 ::1 GET /_nuxt/error-component.7bda1361.js\r\n HTTP 04/01/2023 00:03:49 ::1 Returned 304 in 1 ms \r\n HTTP 04/01/2023 00:03:49 ::1 GET /_nuxt/example.9e118f45.js\r\n HTTP 04/01/2023 00:03:49 ::1 Returned 304 in 2 ms \r\n HTTP 04/01/2023 00:03:49 ::1 GET /favicon.ico\r\n HTTP 04/01/2023 00:03:49 ::1 Returned 304 in 1 ms \r\n```\n```\n",[3118,3119],{"name":3034,"color":3035},{"name":3037,"color":3038},12482,"Unpredictable behaviour when serving static site with `nuxi preview`","2023-01-19T17:35:34Z","https://github.com/nuxt/nuxt/issues/12482",0.63886416,["Reactive",3126],{},["Set"],["ShallowReactive",3129],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$ffgMGIlGNgm2sD_R8eQ6M3pajziAx4wCWSp32EMZc1yI":-1},"/nuxt/nuxt/12457"]