How to Use Bootstrap with Sage
Setup Sass first
See how to use Sass before you follow this guide
Install Bootstrap
Add Bootstrap as a dependency:
npm install --save bootstrap @popperjs/core
Add Bootstrap to resources/css/app.scss
:
@import "bootstrap/scss/bootstrap";
Bootstrap's Vite docs
See Bootstrap's Vite docs for more information.
Contributors
Last updated
Support Roots
Help us continue to build and maintain our open source projects. We’re a small team of independent developers and every little bit helps.
Sponsor Roots on GitHub