“Pasang Bootstrap Angular 9” 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

Pasang Bootstrap Angular 9

From angular cli:

npm install --save bootstrap
npm install --save jquery

Then add the following paths to angular.json:

"node_modules/bootstrap/dist/css/bootstrap.css" in the projects -> architect -> build -> styles array
"node_modules/jquery/dist/jquery.js" in the projects -> architect -> build -> scripts array
"node_modules/bootstrap/dist/js/bootstrap.js" in the projects -> architect -> build -> scripts array
Joyous Jellyfish

Menambahkan Bootstrap ke Angular

 $ npm install --save bootstrap
Ankur

Pasang Bootstrap di Angular 9

npm install bootstrap --save
Energetic Eel

Pasang bootstrap dalam sudut

$ npm install bootstrap
Agreeable Anteater

Jawaban yang mirip dengan “Pasang Bootstrap Angular 9”

Pertanyaan yang mirip dengan “Pasang Bootstrap Angular 9”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya