Skip to content

Commit 07f240f

Browse files
committed
guidelines: volt: fix blade parsing @volt
1 parent ad04775 commit 07f240f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ai/volt/core.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- This project uses Livewire Volt for interactivity within its pages. New pages requiring interactivity must also use Livewire Volt. There is documentation available for it.
44
- Make new Volt components using `php artisan make:volt [name] [--test] [--pest]`
55
- Volt is a **class-based** and **functional** API for Livewire that supports single-file components, allowing a component's PHP logic and Blade templates to co-exist in the same file
6-
- Livewire Volt allows PHP logic and Blade templates in one file. Components use the `@volt` directive.
6+
- Livewire Volt allows PHP logic and Blade templates in one file. Components use the @verbatim`@volt`@endverbatim directive.
77
- You must check existing Volt components to determine if they're functional or class based. If you can't detect that, ask the user which they prefer before writing a Volt component.
88

99
### Volt Functional Component Example

0 commit comments

Comments
 (0)