Upgrading Angular application to Bootstrap 4.0.0 Upgrading Angular application to Bootstrap 4.0.0 angular angular

Upgrading Angular application to Bootstrap 4.0.0


My take is:

  1. delete the node_modules folder (just in case)
  2. delete the bootstrap entries from the package.jsons
  3. npm i bootstrap to install bootstrap4
  4. install ng-bootstrap via the offical guide: npm install --save @ng-bootstrap/ng-bootstrap


if you are using yarn

yarn upgrade bootstrap@latest


npm update --save @ng-bootstrap/ng-bootstrap

This will update your current bootstrap package to lastest version. And then run

npm audit fix