Skip to content

Commit

Permalink
LiveView workshop starting code
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstalker authored and SophieDeBenedetto committed Aug 18, 2019
1 parent e070986 commit 342d679
Show file tree
Hide file tree
Showing 16 changed files with 1,383 additions and 1,256 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ erl_crash.dump
*.beam
/config/*.secret.exs
/assets/node_modules
.#*
5 changes: 4 additions & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ import "phoenix_html"
// Import local files
//
// Local files can be imported directly using relative paths, for example:
import socket from "./socket"
import LiveSocket from "phoenix_live_view"

const liveSocket = new LiveSocket("/live")
liveSocket.connect()
Loading

0 comments on commit 342d679

Please sign in to comment.