aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript/packs/application.js
diff options
context:
space:
mode:
author0Napster2017-10-11 12:03:04 +0200
committerGitHub2017-10-11 12:03:04 +0200
commitbf6d0e38ac7dfd7f99d67169e665384edd047ec0 (patch)
treee08a253483cc17a4ef5623e72e9df084f2217a5e /app/javascript/packs/application.js
parent98861e13d56403e75aa000d62880dcbc34987a37 (diff)
parent8993eced364551163879dc1735ad7d583fc664ac (diff)
downloadchouette-core-bf6d0e38ac7dfd7f99d67169e665384edd047ec0.tar.bz2
Merge pull request #86 from af83/webpacker
Add webpacker gem and migrate the React apps
Diffstat (limited to 'app/javascript/packs/application.js')
-rw-r--r--app/javascript/packs/application.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js
new file mode 100644
index 000000000..0b3711e53
--- /dev/null
+++ b/app/javascript/packs/application.js
@@ -0,0 +1,11 @@
+/* eslint no-console:0 */
+// 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.
+//
+// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate
+// layout file, like app/views/layouts/application.html.erb
+
+// import jQuery from 'jquery'
+// import {} from 'jquery-ujs'