“Bootstrap Angular” Kode Jawaban

Pasang Bootstrap Angular

# From project directory:
npm install --save bootstrap
npm install --save jquery

# Now edit `angular.json`
# Position: `projects -> architect -> build -> options`
# To `styles`, add "node_modules/bootstrap/dist/css/bootstrap.css"
# To `scripts`,
#   add "node_modules/jquery/dist/jquery.js"
#   and also "node_modules/bootstrap/dist/js/bootstrap.js"
# Test with
# <<div class="alert alert-primary" role="alert"> Bootstrap alert</div>
Grumpy Gnu

Sudut Bootstrap

ng add @ng-bootstrap/ng-bootstrap
Concerned Crossbill

Bootstrap Angular

// Installation for Angular CLI
ng add @ng-bootstrap/ng-bootstrap
Lively Lark

Bootstrap Angular

$ npm install bootstrap
Agreeable Anteater

Bootstrap Angular

"styles": [  "styles.css",  "../node_modules/bootstrap/dist/css/bootstrap.css"],
Jules le dev

Jawaban yang mirip dengan “Bootstrap Angular”

Pertanyaan yang mirip dengan “Bootstrap Angular”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya