Shorthand cheatsheet for Alpine.js
briefer ways to write code in Alpine.js
2025-09-24 12:30
// updated 2025-09-24 17:21
// updated 2025-09-24 17:21
A cheatsheet for the Alpine.js framework:
| Full form | Shorthand |
|---|---|
| x-on:event | @event |
| x-bind:attribute | :attribute |
| method() | method |