Skip to content

Commit

Permalink
Fix deploy setup (joinum#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonmestevao authored Jun 6, 2022
1 parent 3c4828b commit cb15b79
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 1,373 deletions.
14 changes: 0 additions & 14 deletions assets/js/app.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
// We import the CSS which is extracted to its own file by esbuild.
// Remove this line if you add a your own CSS build pipeline (e.g postcss

import Alpine from "alpinejs";
window.Alpine = Alpine;
Alpine.start();

// If you want to use Phoenix channels, run `mix help phx.gen.channel`
// to get started and then uncomment the line below.
// import "./user_socket.js"
Expand Down Expand Up @@ -60,13 +53,6 @@ Hooks.CustomSelect = {
let liveSocket = new LiveSocket("/live", Socket, {
params: { _csrf_token: csrfToken },
hooks: Hooks,
dom: {
onBeforeElUpdated(from, to) {
if (from._x_dataStack) {
window.Alpine.clone(from, to);
}
},
},
});

// Show progress bar on live navigation and form submits. Only displays if still
Expand Down
Loading

0 comments on commit cb15b79

Please sign in to comment.