angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

How to get Bootstrap 4 sass working?

Open alvipeo opened this issue 10 years ago • 25 comments

I'm trying to use CLI and I need my project to use Bootstrap 4 alpha. I managed to get its .js files and dependencies but I don't understand how to use bootstrap's sass files (how to integrate bootstrap styles based on its sass). Could anyone help with this one?

I saw a mention on sass in general here https://github.com/angular/angular-cli#css-preprocessor-integration, but it's not enough.

Please help. Thanks!

alvipeo avatar May 05 '16 02:05 alvipeo

@natsu90 you should add the following into your angular-cli-build.js file before vendorNpmFiles

sassCompiler: { includePaths: [ 'node_modules' ] },

darbio avatar Nov 04 '16 01:11 darbio

It is explained in https://github.com/angular/angular-cli

david-salvador avatar Nov 14 '16 11:11 david-salvador

https://github.com/angular/angular-cli#global-library-installation

xgqfrms-GitHub avatar Dec 04 '16 21:12 xgqfrms-GitHub

A dedicated wiki page of Angular CLI: https://github.com/angular/angular-cli/wiki/stories-include-bootstrap

doxasoft avatar Apr 13 '17 15:04 doxasoft

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.