The Bootstrap 5 alpha was announced a few months ago and I instantly jumped on it and started using it. The lack of jQuery and more robust colour palettes as well as grid system were too hard to pass up.

If you are reading this in the future and Bootstrap 5 has already been released, these instructions will still work for you. Admittedly, the approach I am taking here avoids the need for any package manager like Npm or Yarn, I’m going to show you a simple way.

The easiest way is using the CDN version of Bootstrap 5 and adding it into the index.ejs file in your root directory. This approach also works for Aurelia v1 as well and avoids the need of bundling it, gives you browser caching and other benefits.

If you generated your Aurelia 2 application using the CLI, all you need to do is grab both the CSS and Javascript files from the Bootstrap v5 site here and add them into the head.

#bootstrap #javascript #css #programming #developer

How to Easily Add Bootstrap 5 Into an Aurelia 2 Application
7.00 GEEK