User Tools

Site Tools


buster:bootstrap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
buster:bootstrap [2021/06/04 16:39] – created slackbuster:bootstrap [2022/04/03 14:40] (current) slack
Line 1: Line 1:
-    yarn add boostrap jquery @popperjs/core+Use Webpacker for Bootstrap/JS, and keep Sprokets for CSS and images (it is simpler). 
 + 
 +Don't fuck about with where CSS etc goes. 
 + 
 +Install: 
 + 
 +  yarn add boostrap jquery @popperjs/core 
 + 
 +Add to ''javascript/packs/application.js'': 
 + 
 +  // Bootstrap 5 
 +  import 'bootstrap' 
 +  import "bootstrap/dist/css/bootstrap" 
 + 
 +And test in a view: 
 + 
 +  .alert-success Bootstrap! 
buster/bootstrap.1622824768.txt.gz · Last modified: 2021/06/04 16:39 by slack