feature: Option to serve unfound routes as an entry file (e.g. for SPA's)
alexilyaev opened this issue · 1 comments
alexilyaev commented
When running a web app (single page application) with HTML5 history API, for routes to work properly on reload, the server must serve the index file on unfound routes.
This is implemented in live-server as --entry-file=PATH
:
https://github.com/tapio/live-server
alexilyaev commented
Moved to the mainstream package:
vercel/serve#266