lalocespedes
10/10/2017 - 4:47 AM

ng-cli new project

ng-cli new project

ng new nameProject --routing --style=scss

//Bootstrap
npm install bootstrap@next --save
Create an empty file _variables.scss in src/.
add the following to _variables.scss
$icon-font-path: '../node_modules/bootstrap-sass/assets/fonts/bootstrap/';
In styles.scss add the following:
@import 'variables';
@import '../node_modules/bootstrap/scss/bootstrap';

// Fontawesome
npm install --save font-awesome
Add the following to _variables.scss:
@import '../node_modules/font-awesome/scss/font-awesome';