Skip to content

Commit

Permalink
add link to app.css at end of Step 10 #1
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Mar 8, 2020
1 parent eb7d33c commit 66c03a2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,21 @@ liveSocket.connect()

### Step 10: Import the `live_view.css` in `app.css`

In order to display the "connecting" and "offline" UI in our counter,
we need to import the `live_view.css` file in our `app.css`.

Open the
[`assets/css/app.css`](https://github.com/dwyl/phoenix-liveview-counter-tutorial/blob/80ef56d9234f9006c35b0b43aeab953b5dc4c5de/assets/css/app.css#L3)
file and append the following line:

```css
@import "../../deps/phoenix_live_view/assets/css/live_view.css";
```

> 🏁 The line of code added in Step 10 is:
[`/assets/css/app.css#L4`](https://github.com/dwyl/phoenix-liveview-counter-tutorial/blob/eb7d33c44e9ac0ec1dc1f6b8462c6c96f8e1f677/assets/css/app.css#L4)

<br />



Expand Down

0 comments on commit 66c03a2

Please sign in to comment.