One of my favourites backend frameworks is Ruby on Rails. Because is simple, is powderfull, and on version 6 you can add your Javascript dependencies using yarn. So, so excited about it.
These are the notes for adding Bootstrap to Rails project:
yarn add bootstrap jquery popper.js
const { environment } = require('@rails/webpacker')
const webpack = require('webpack')
environment.plugins.append("Provide",
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
Popper: ['popper.js', 'default']
})
)
module.exports = environment
import "bootstrap"
gem 'bootstrap', '~> 4.5', '>= 4.5.2'
gem 'jquery-rails', '~> 4.4'
I recommend go to https://rubygems.org/ and pick up the current versions.
rails s
If you prefer video format, there is a great resource on Youtube. Here the link.