aboutsummaryrefslogtreecommitdiff
path: root/assets/js/app.js
diff options
context:
space:
mode:
authorGuillermo Ramos2020-02-04 13:49:53 +0100
committerGuillermo Ramos2020-02-04 14:20:23 +0100
commit1566a2fcba0676cf54dde2b04702a320d9f1edcd (patch)
tree1d6b378f2d5192fbc3f9446ba9a0cd6e8af2c4c7 /assets/js/app.js
downloadwaev-1566a2fcba0676cf54dde2b04702a320d9f1edcd.tar.gz
Initial commit
Diffstat (limited to 'assets/js/app.js')
-rw-r--r--assets/js/app.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/assets/js/app.js b/assets/js/app.js
new file mode 100644
index 0000000..8a5d386
--- /dev/null
+++ b/assets/js/app.js
@@ -0,0 +1,17 @@
+// We need to import the CSS so that webpack will load it.
+// The MiniCssExtractPlugin is used to separate it out into
+// its own CSS file.
+import css from "../css/app.css"
+
+// webpack automatically bundles all modules in your
+// entry points. Those entry points can be configured
+// in "webpack.config.js".
+//
+// Import dependencies
+//
+import "phoenix_html"
+
+// Import local files
+//
+// Local files can be imported directly using relative paths, for example:
+// import socket from "./socket"