Commit ec0b615
committed
feat(docs): enable path-based SPA routing via 404.html
Switch the Elements docs site from hash-based to path-based SPA routing
to match the Core site (no-js.dev). Adds <base href="/">, sets
useHash: false, updates syncSidebar/syncPrevNext to use
location.pathname and popstate, and creates 404.html as a copy of
index.html for the GitHub Pages deep-link fallback.1 parent ed0e273 commit ec0b615
2 files changed
Lines changed: 882 additions & 8 deletions
0 commit comments