-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option for SPA #132
Comments
Hello I am going through the open issues and triaging them before we do another release of the CLI. Currently (in main) we have a Does this do what you expect or you mean something else? |
Hi, This way the routing can use path based routing ("/") instead of "#/". |
What exactly would you propose we change in the CLI for this? |
Maybe a So it would be flexible and would not be tied down to the SPA use case. |
Ah I understand now 😄 You can pass a path to |
No, it requires to always answer with the index file, if the path does not exist. |
For single page applications it would be great to have a spa modus, which serves a default (often just index.html) page in case there is no matching file within the folder.
Example (old Python):
https://gist.github.com/jtangelder/e445e9a7f5e31c220be6
The text was updated successfully, but these errors were encountered: