Docs for static site generator
srid opened this issue · 2 comments
Feature Request
Please add some documentation for how to actually run the existing examples for the static site generator. Notably: https://github.com/DioxusLabs/dioxus/tree/main/packages/static-generation/examples/github-pages
I'm trying to make https://github.com/srid/dioxus-static-site actually deploy to GitHub Pages. cargo run
does not work; dx build
(and dx serve
) generates some HTML files which fail to work.
dx build
creates this for https://github.com/srid/dioxus-static-site
Binary
Running the binary does nothing:
Generated files
Opening the generated HTML in browser opens an empty page (but with correct title) rife with console errors,
with all these coresponding warnings on the web server:
Following DioxusLabs/dioxus#2967 - I'm trying the new example here, following instructions from the past (see DioxusLabs/dioxus#2892). dx serve
outputs:
When I press o
, it opens the URL in browser with empty page and errors in browser console:
EDIT: No pressure, just wanted to leave these notes to consider as part of docs for next release.