-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Issue with only catch-all routing #397
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm working on a site that needs the first segment of the path to be a language such as
/en-gb
,/es
,/fr-ca
, etc. When visiting these pages you get pages translated to the language in the URL. If the URL doesn't start with a supported language then we default to English. My issue is to support this I believe the entire site needs to be configured as catch-all routing. This would require two file-based routesRoute.Index
andRoute.SPLAT_
according to the documentation. However, when I removed theRoute
folder and usednpx elm-pages@latest run Addroute Index
and another forSPLAT_
I get the following error when runningnpm run start
. I'm onelm-pages
3.0.9 according tonpx elm-pages --version
.The text was updated successfully, but these errors were encountered: