Open cliedelt opened 7 years ago
Please check the paths and directories.
https://github.com/choffmeister/roboto-fontface-bower/blob/master/css/roboto/roboto-fontface.css
same issue here, importing in a scss file it doesn't work
@astalegale can you provide some more information?
Hi @DanielRuf, first of all thanks!
The problem occurs if i try to import the library using the @import keywork from a scss file, if i import the main scss file from .angular-cli.json styles section everything works.
src |style |__style.scss <- here i use @import "node_modules/roboto-fontface/css/roboto/sass/roboto-fontface";
I've tried all relavitve path combinations with the same result, instead as i said befefore using the styles section of anguar-cli.json everything works.
Thanks Alex
cc @tomscholz is webpack used?
Hi @DanielRuf , sorry i forgot to mention it.
Yes, i use webpack that in used inside angular-cli as default.
Thanks
Alex
Hi there - I am using the following with Angular CLI and a _variables.scss file imported before my styles.scss. This has solved the build issue for me!
$roboto-font-path: "~roboto-fontface/fonts" !default;
@kirikintha this is specific to Sass and node_modules.
Hey, so I just upgraded to the new version and i got this error
ERROR in multi ./src/styles.css ./src/~/roboto-fontface/css/roboto/roboto-fontface.c ss Module not found: Error: Can't resolve 'D:\Desktop\etc\supportertool\supportertool\s rc\node_modules\roboto-fontface\css\roboto\roboto-fontface.css' in 'D:\Desktop\etc\s upportertool\supportertool' @ multi ./src/styles.css ./src/~/roboto-fontface/css/roboto/roboto-fontface.css