rc.11 Static Site Generation
See original GitHub issueWhen you hit generate command then it shows below message
You can now deploy .output/public to any static hosting!
I have deployed that code on server but it is not working because of 404 error messages in console. I have checked index.html file and observed nuxt folder path is not correct.
Generated path for js file
/_nuxt/web.8527e9a2.js
It should be
./_nuxt/web.8527e9a2.js
or _nuxt/web.8527e9a2.js
Thanks
Issue Analytics
- State:
- Created a year ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Static Site Generation with 11ty - Raymond Camden - YouTube
... Learn how to get started with Eleventy ( 11ty ), an increasingly popular static site generator that leverages JavaScript with Raymond.
Read more >Eleventy Guide: A Framework-Agnostic Static Site Generator
Craig Buckler introduces Eleventy (11ty), a Node.js static site generator, showing how to build a simple site with pages and blog/article ...
Read more >7 Top React Static Site Generators in 2020 - Bits and Pieces
A static site generator takes the source files and generates an entire website — or a static site that is sourced from purely...
Read more >Eleventy, a simpler static site generator
Eleventy, a simpler static site generator. ... Run npx @11ty/eleventy --serve to start up a web server. Then open http://localhost:8080/README/ in your web ......
Read more >Static Site Generation #515 - nuxt/framework - GitHub
Hi @Akryum. We support Nuxt 2 style (full)static generation up to bridge also with nitro. For Nuxt 3, while it is not implemented...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I made a pull request in your repository. I added some explanation as well
https://github.com/swapnilnandgave/nuxt3app/pull/1
I am unable to reproduce the issue.
What’s the output of the terminal after you execute
npx nuxi generate
? Are there any errors?If you remove the
app.baseURL
and run the command again is theindex.html
generated again? And if you add back is it gone again?Try to cleanup local caches with
npx nuxi@latest cleanup
and execute the generate command again.It would be best if you could provide a repository so that we can reproduce the issue.