- Setup the Rails project with ActiveAdmin using Webpacker:
rails g active_admin:install --use_webpacker
- Setup Trix editor for ActiveAdmin:
- Execute:
bin/rails action_text:install
- Add Javascript library to app/javascript/packs/active_admin.js:
- Execute:
require("trix")
require("@rails/actiontext")
- Add style library to app/javascript/stylesheets/active_admin.scss: