mercredi 3 janvier 2018

Use Material Design Components with Ember-CLI-Sass

I'm trying to use Material Components Web(MDC) with Ember CLI-Sass. I've installed MDC with Yarn

I've set my sass options as so:

 sassOptions: {
           includePaths: ['node_modules/material-components-web','node_modules/@material']      
    }

and then in my SCSS file used:

@import "material-components-web";

However I'm getting the error:

Error: Error: File to import not found or unreadable: @material/button/mdc-button.




Aucun commentaire:

Enregistrer un commentaire