[SOLVED] Including a page's SCSS file into an extra module fails to load


#1

I tried to break my app into multiple modules.
Everything works except for page components: the SCSS is ignored.

Is there any way to make it work?

I’ve tried the old syntax adding to the component’s decorator:
styleUrls: ['splash.scss']

but i just get this error message:
Unhandled Promise rejection: Failed to load splash.scss ; Zone: <root> ; Task: Promise.then ; Value: Failed to load splash.scss null

My submodule declaration is this:

import {NgModule} from "@angular/core";
import { IonicModule} from 'ionic-angular';
import {webClientService} from "./webclient";
import {SplashPage} from "./splash/splash";

@NgModule({
  imports: [ IonicModule.forRoot(SplashPage) ],
  declarations: [SplashPage],
  entryComponents: [SplashPage],
  providers: [webClientService],
  exports: []
})
export class AgxModule {}

#2

Sorry, it seems i did everything OK, the problem was just livereload not working correctly.