mantra-sample-blog-app
mantra-sample-blog-app copied to clipboard
can we seperate module styles with mantra ?
i tried with mantra modules but not seperate. i have 2 modules: admin module + home module. i want home module has some styles and admin module has some other styles. And 2 modules import from 1 base styles. how can i do that ? currently, my home module loaded styles, others module have same styles. i'm sure in admin module i was none style files.
In my opinion, you need create 2 projects and both using one mongo db. Bs mongo combine all style in one, so easy to conflict
that once idea but i think we have way better @@ i hope we will find it.
we can try:
.home-app {
h1 { color: red; }
}
.admin-app {
h1 { color: blue; }
}
but App will load all stylesheet right ? if it is true, that's not good idea! we can try any better ?