diff options
| author | realtradam <[email protected]> | 2020-12-02 19:26:28 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2020-12-02 19:26:28 -0500 |
| commit | d13b636bd654244f894943c2968a7386e8379605 (patch) | |
| tree | 410809bae61eac943e1af19ecfd2c2f31143c796 /app/javascript/packs | |
| download | rails-tree-style-activerecord-d13b636bd654244f894943c2968a7386e8379605.tar.gz rails-tree-style-activerecord-d13b636bd654244f894943c2968a7386e8379605.zip | |
initial
Diffstat (limited to 'app/javascript/packs')
| -rw-r--r-- | app/javascript/packs/application.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js new file mode 100644 index 0000000..fb5e6ca --- /dev/null +++ b/app/javascript/packs/application.js @@ -0,0 +1,14 @@ +// 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() + + +// 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) |
