So, I've made a migration of a Angular 5 project to Angular 6 (well, more like I did a mix with a regular migration and a new project re-using the files because of a bunch of problems). The project compiles and works nicely as it should.
Bu the Angular 5 version used sass instead of the regular css. That shouldn't be a problem: I did the following updates to allow Angular 6 to work with the scss files.
- schematicsin- angular.jsonis set with- "@schematics/angular:component": { "styleext": "scss" }
- stylein- angular.jsonis set with- "styles": [ "src/styles.scss" ]
- All the cssfiles have ascssextension.
- All the component have a scssdeclared instead of thecss.
Well... That didn't work. My pages are rendered without style whereas the files seem to be correctly loaded. Did I miss something?
(Angular version is 6.1.10, CLI is 6.0.8)
Update 2
- The console does not write anything related to a missing file or else.
- The styled elements don't have their style.
- In the DevTools the styles are not the sources tab, but they also aren't in it in the Angular 5 version (though they are in the Style Editor tab in Firefox).
 
    