rails new story-book
root 'stories#index'
resources :stories
rails g controller stories
rails g model story title description
rails db:migrate
gem 'bootstrap' bundle install
mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss
add @import "bootstrap"; to application.scss
gem "font-awesome-rails" bundle install
@import "font-awesome";
gem "hotwire-rails"
bundle install
rails hotwire:install
yarn add jquery
require("jquery")
const webpack = require('webpack') environment.plugins.prepend('Provide', new webpack.ProvidePlugin({ $: 'jquery/src/jquery', jQuery: 'jquery/src/jquery' }) )