Développement

Astuces de développement

Outils pour utilisateurs

Outils du site


langages:angular:outils:ngxbootstrap

Ceci est une ancienne révision du document !


Bootstrap & ngx-bootstrap

Installation

ng add ngx-bootstrap

Utisisation de Bootstrap avec un fichier _variables.scss

Create an empty file _variables.scss in src/.

If you are using bootstrap-sass, add the following to _variables.scss:

$icon-font-path: '../node_modules/bootstrap-sass/assets/fonts/bootstrap/';
//changer les couleurs de base de Bootstrap
$primary: #e83e8c;
$warning: #fd7e14;
$danger: #dc3545;

In styles.scss add the following:

@import 'variables';
@import '../node_modules/bootstrap/scss/bootstrap';

Remarque: il faut intégrer les modules utilisés dans app.module.ts

langages/angular/outils/ngxbootstrap.1548527171.txt.gz · Dernière modification: 2019/01/26 19:26 de jonathan