Hosting
A deck's path is the app's own page under another URL: whatever serves the site must answer /framework with index.html.
npm run devandvite previewdo (Vite's SPA fallback), under anybase.vite buildwritesdist/404.html, a copy ofdist/index.html(from thearao()plugin): GitHub Pages, and every static host that serves404.htmlfor a path it has no file for, answer a deck's path with the app, which opens the deck (with HTTP status 404, which browsers ignore and crawlers do not). A404.htmlof the project's own inpublic/is kept instead.- Elsewhere, have the server fall back to
index.html(nginx:try_files $uri $uri/ /index.html;; Netlify:/* /index.html 200in_redirects). - Under a sub-path, build with that
base(GitHub Pages ofuser/talks:base: '/talks/'). - A deck cannot be named like a file or folder at the site's root (
assets, a file ofpublic/): the server answers that path with the file.
The paths themselves, and how they work under a base: URLs.