80 words
1 minute
Angular with Bootstrap setup

Prerequisites#


Steps#

  1. Go to the folder you want to create and run command
    Terminal window
    ng new project-name
    NOTE

    Change project-name with your project name

  2. Select configurations
  3. Run command
    Terminal window
    cd project-name & code .
  4. Open terminal (Ctrl + J - Visual Studio Code shortcut) and install bootstrap
    Terminal window
    ng add @ng-bootstrap/ng-bootstrap
  5. Install popper.js
    Terminal window
    npm i @popperjs/core
  6. Update config in angular.json
    {
    // ...
    "projects": {
    "project-name": {
    //...
    "architect": {
    // ...
    "options": {
    "scripts": [
    "node_modules/@popperjs/core/dist/umd/popper.min.js",
    "node_modules/bootstrap/dist/js/bootstrap.bundle.js"
    ]
    },
    }
    }
    }
    }
  7. Start the project
    Terminal window
    npm start

References#

Angular with Bootstrap setup
https://slimaeus.github.io/posts/angular-with-bootstrap-setup/
Author
Slimaeus
Published at
2025-07-09
License
CC BY-NC-SA 4.0