2

I want to use bootstrap-material-design in my Angular 2 application that uses angular-cli.

bootstrap-material-design (V4) uses SASS. And in order to make it work in Angular 2, I need to use sass-loader. But I didn't find any solution to make Angular-cli uses sass-loader since webpack configuration cannot be overrided (In my knowledge).

Is there any solution to use bootstrap-material-design in a Angular 2 application that uses angular-cli ?

1 Answer 1

1

You can use angular-cli with sass without and loader. You can just set your prefix to sass or scss as you wish.

Check this out

Angular2 - Angular-CLI SASS options

Sign up to request clarification or add additional context in comments.

3 Comments

Unfortunately, telling angular-cli to use sass rather than css does not resolve the problem.
@RadouaneROUFID , did you find any solution for using bootstrap material in angular2 cli project ?
I use now angular2-materialize which is based on materializecss.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.