I'm having angular project consist of Frontend and admin. I want to scale my project in such a way that I use different CSS for both admin and frontend.
Structure of my project is as follows:
--app
--admin // Admin Module
--admin.module.ts
--admin.component.ts
--admin-routing.module.ts
--admin.component.css
--admin.component.html
--web // Frontend Module
--web.module.ts
--web.component.ts
--web-routing.module.ts
--web.component.css
--web.component.html
--app.module.ts
--app.component.ts
--app-routing.module.ts
--app.component.css
--app.component.html
I've defined my CSS for web(Frontend) in .angular-cli.json file.
"styles": [
"../node_modules/bootstrap/dist/css/bootstrap.min.css",
"styles.css"
],
How can I load different CSS file for admin and the web? Also is there any better approach to include multiple modules in same project?