diff --git a/assets/js/liveview/live_socket.js b/assets/js/liveview/live_socket.js index b2d84dae5109..2595d8b2daf9 100644 --- a/assets/js/liveview/live_socket.js +++ b/assets/js/liveview/live_socket.js @@ -1,7 +1,10 @@ import "phoenix_html" -import Alpine from 'alpinejs' +// eslint-disable-next-line import/no-unresolved import { Socket } from "phoenix" +// eslint-disable-next-line import/no-unresolved import { LiveSocket } from "phoenix_live_view" +// eslint-disable-next-line import/no-unresolved +import Alpine from 'alpinejs' let csrfToken = document.querySelector("meta[name='csrf-token']") let websocketUrl = document.querySelector("meta[name='websocket-url']")