Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach authored May 14, 2024
1 parent 5243541 commit 7f84142
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ defmodule DemoLive do
<span><%= @count %></span>
<button phx-click="inc">+</button>
<button phx-click="dec">-</button>

<style type="text/css">
body { padding: 1em; }
</style>
"""
end

Expand All @@ -49,6 +53,9 @@ and run it:
$ iex demo.exs
```

<img width="1195" alt="image" src="https://github.com/phoenix-playground/phoenix_playground/assets/76071/d20adbac-d2da-4a5a-a921-fdac718ab5a2">


See more examples below:

* [`examples/demo_live.exs`]
Expand Down

0 comments on commit 7f84142

Please sign in to comment.