Todo :
- css file based on subdomain loaded.
For e.g: I have abc.css, xyz.css and these css should be loaded based on subdomains like if abc then abc.css must be loaded and so on.
Tried Cases :
- Dynamically load css from angular-cli.json (Couldn't found a way to load dynamically)
- Loading css on index.html (MiME type issue encountered)
- Use style-loader on app init e.g require("style-loader!./style.css");
Used version : Angular 4.4.6 version.
Can anyone help me on this?
I am open to all suggestions, please suggest.
Thank You.