Skip to content

Commit 3b5c129

Browse files
committed
Tweaks
1 parent d505dbd commit 3b5c129

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

docs/csrf.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ Laravel has built-in CSRF protection in place. It essentially prevents our app f
55
```blade
66
<form action="{{ route('chirps.store }}" method="post">
77
@csrf
8-
9-
<!-- ... -->
108
</form>
119
```
1210

docs/livewire.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,9 @@ if (customElements.get('turbo-livewire-stream-source') === undefined) {
9292
Now, we can use this element in a page where we want to have the integration between Livewire and Turbo.js (or in a base layout if you want it applied application-wide):
9393

9494
```blade
95-
9695
<turbo-livewire-stream-source />
9796
9897
<livewire:counter />
99-
10098
```
10199

102100
That's it! With that, we got Livewire to generate Turbo Streams, dispatch it as a browser event, which gets intercepted by our custom HTML element and applied to the page!

0 commit comments

Comments
 (0)