I am working in a project for multiple clients. I am using angular themes for change the background color, font, etc for the different clients and I have to reuse the components changing the different text of each section depending on the client(I get the client from the server). Is there any easy way to do that?
At the same time I have to translate the text to different languages so any help of both things will be appreciate.
I don't know if you heard of environnement variables but it might be great to use them in your case, depending on the options you'll give to ng serve example : ng serve --client1 you can automaticly change variables you defined, here's how it looks : https://www.jvandemo.com/how-to-use-environment-variables-to-configure-your-angular-application-without-a-rebuild/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With