init
This commit is contained in:
5
app/javascript/packs/active_admin.js
Normal file
5
app/javascript/packs/active_admin.js
Normal file
@ -0,0 +1,5 @@
|
||||
// Load Active Admin's styles into Webpacker,
|
||||
// see `active_admin.scss` for customization.
|
||||
import "../stylesheets/active_admin";
|
||||
|
||||
import "@activeadmin/activeadmin";
|
2
app/javascript/packs/active_admin/print.scss
Normal file
2
app/javascript/packs/active_admin/print.scss
Normal file
@ -0,0 +1,2 @@
|
||||
/* Active Admin Print Stylesheet */
|
||||
@import "~@activeadmin/activeadmin/src/scss/print";
|
17
app/javascript/packs/application.js
Normal file
17
app/javascript/packs/application.js
Normal file
@ -0,0 +1,17 @@
|
||||
// This file is automatically compiled by Webpack, along with any other files
|
||||
// present in this directory. You're encouraged to place your actual application logic in
|
||||
// a relevant structure within app/javascript and only use these pack files to reference
|
||||
// that code so it'll be compiled.
|
||||
|
||||
require("@rails/ujs").start()
|
||||
require("turbolinks").start()
|
||||
require("@rails/activestorage").start()
|
||||
require("channels")
|
||||
|
||||
|
||||
// Uncomment to copy all static images under ../images to the output folder and reference
|
||||
// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)
|
||||
// or the `imagePath` JavaScript helper below.
|
||||
//
|
||||
// const images = require.context('../images', true)
|
||||
// const imagePath = (name) => images(name, true)
|
Reference in New Issue
Block a user