DioxusLabs/docsite

Docs for static site generator

srid opened this issue · 2 comments

srid commented

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.

srid commented

dx build creates this for https://github.com/srid/dioxus-static-site

image

Binary

Running the binary does nothing:

image

Generated files

Opening the generated HTML in browser opens an empty page (but with correct title) rife with console errors,

image

with all these coresponding warnings on the web server:

image
srid commented

Following DioxusLabs/dioxus#2967 - I'm trying the new example here, following instructions from the past (see DioxusLabs/dioxus#2892). dx serve outputs:

image

When I press o, it opens the URL in browser with empty page and errors in browser console:

image

EDIT: No pressure, just wanted to leave these notes to consider as part of docs for next release.