Class: ActiveAdmin::Generators::AssetsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/active_admin/assets/assets_generator.rb

Instance Method Summary collapse

Instance Method Details

#install_assetsObject



8
9
10
11
12
13
14
15
16
# File 'lib/generators/active_admin/assets/assets_generator.rb', line 8

def install_assets
  template "active_admin_old.scss", "app/assets/stylesheets/active_admin_old.scss"
  template "active_admin.js", "app/javascript/active_admin.js"
  template "active_admin.css", "app/assets/stylesheets/active_admin.css"
  template "package.json", "package.json"
  template "tailwind.config.js", "tailwind.config.js"
  template "Procfile.dev", "Procfile.dev"
  template "builds/.keep", "app/assets/builds/.keep"
end