These are chat archives for AngularClass/angular2-webpack-starter

23rd
Apr 2017
webdev48
@webdev48
Apr 23 2017 23:50
How can i import external resources in .scss files

so i am trying to do

@import "https://fonts.googleapis.com/css?family=Material+Icons”;

in the src/styles/styles.scss files and it is giving me:

ERROR in ./~/css-loader!./~/sass-loader/lib/loader.js!./src/styles/styles.scss
Module build failed: Unexpected formathttps://fonts.googleapis.com/css?family=Material+Icons (4:1)

  2 | /* This file is for setting global styles  */
  3 | @import url(~@angular/material/prebuilt-themes/indigo-pink.css);
> 4 | @import https://fonts.googleapis.com/css?family=Material+Icons;