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
Not all Docusaurus users are familiar with Docusaurus, and frontend SPA tooling in general.
Some Docusaurus things only work for the production build (like the redirects plugin), yet we don't really explain how to test this production build locally, we only explain how to deploy to various hosting solutions.
We should offer an easy way for the users to test the production build locally.
There are many ways to host a frontend locally, that will work more or less well with Docusaurus. We should offer an official way, and write docs for it, so that the user does not need to figure out which solution to try, otherwise we'll end up with users losing time, using overkill http servers like Apache etc...
So, I think we need a cli docusaurus serve that, by default, would serve the build folder (but could be made configurable like dir/port etc).
The serve lib, maintained by Vercel, has worked nicely for me.
The text was updated successfully, but these errors were encountered:
slorber
added
feature
This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
status: needs triage
This issue has not been triaged by maintainers
mlh
Major League Hacking Fellowship
and removed
status: needs triage
This issue has not been triaged by maintainers
labels
Jul 15, 2020
🚀 Feature
Not all Docusaurus users are familiar with Docusaurus, and frontend SPA tooling in general.
Some Docusaurus things only work for the production build (like the redirects plugin), yet we don't really explain how to test this production build locally, we only explain how to deploy to various hosting solutions.
We should offer an easy way for the users to test the production build locally.
There are many ways to host a frontend locally, that will work more or less well with Docusaurus. We should offer an official way, and write docs for it, so that the user does not need to figure out which solution to try, otherwise we'll end up with users losing time, using overkill http servers like Apache etc...
So, I think we need a cli
docusaurus serve
that, by default, would serve the build folder (but could be made configurable like dir/port etc).The serve lib, maintained by Vercel, has worked nicely for me.
Related:
The text was updated successfully, but these errors were encountered: