how do get language routes to work locally? #108
JohnRDOrazio
started this conversation in
General
Replies: 1 comment 2 replies
-
I found the solution in the npx astro-i18next generate
npm run build Then you can run |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm seeing on the netlify preview that language routes are working with the new astro build.
However, when I try to run locally with
npm run dev
, none of the language routes are working, I get a 404 not found error.Is there a step that needs to be taken before running locally? Environment variables?
Beta Was this translation helpful? Give feedback.
All reactions