How to import external CSS

1

Hello, I'm using the compass and would like to know how I can import an external file from my sass-configured folder.

This is how scss works:

@import "../../node_modules/angular-material/angular-material.min.css";
@import "compass/css3";
@import "compass/reset";

$azul : #214d8f;

body {
  background-color: $azul;
}

The output he gives me is this:

@import url(../../node_modules/angular-material/angular-material.min.css); ...

What I need to do is that this angular-material.min.css is actually included in my final css, not just referenced. I tested @embed , but it did not work either.

    
asked by anonymous 16.03.2016 / 19:22

1 answer

1

In StackOverflow I had asked this same question, they reported that there was another similar post with the solution.

link

I tested it here and it worked fine, it just was not very cool (I do not know why) with angular-material.min.js . When I tested the unmanaged version it worked fine.

    
17.03.2016 / 13:48