From 1566a2fcba0676cf54dde2b04702a320d9f1edcd Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Tue, 4 Feb 2020 13:49:53 +0100 Subject: Initial commit --- assets/js/app.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 assets/js/app.js (limited to 'assets/js/app.js') 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" -- cgit v1.2.3