You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should list expectations on how to serve the built site.
For example, the side bar links to URL /contributing but the server must respond with the contents of the contributing.html file; if you use python3 -m http.server or npx live-server to serve the dist folder, this results in a 404 when using the navigation bar.
Would it make sense to have a yarn serve command that serves the built site (with http-server or npx http-server, or with a custom ./src/serve.ts)?
The text was updated successfully, but these errors were encountered:
We should list expectations on how to serve the built site.
For example, the side bar links to URL /contributing but the server must respond with the contents of the
contributing.html
file; if you usepython3 -m http.server
ornpx live-server
to serve the dist folder, this results in a 404 when using the navigation bar.Would it make sense to have a
yarn serve
command that serves the built site (withhttp-server
ornpx http-server
, or with a custom ./src/serve.ts)?The text was updated successfully, but these errors were encountered: