Transloco works in DEV and NOT in Prod #518
tekpartner-new
started this conversation in
General
Replies: 1 comment 1 reply
-
Odd... But this worked for me: Removing the entry from providers makes the translation work in Prod Mode.
Any ideas why? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I run my Angular 12 application locally using
npm start
the Transloco translations work fine.However, after an
ng build --configuration production
when I run my application usinghttp-server dist/my-project
the translations don't work - I see the raw values.Here's my transloco-root.module.ts:
Here's my transloco.config.js:
Beta Was this translation helpful? Give feedback.
All reactions