This is some example code from the tutorials on laracasts by the Excellent Jeffery Way
Learn about AlpineJS on Laracasts! Get started with AlpineJS Get started with Tailwind CSS
This is a test binding of objects using Apline JS. Notice how the text updates based on the inputs and the buttons.
We take number 1 and it it to number 2. What happens if we play with the x-model classes though?
<div x-data=" { show: false } ">
<h1 x-show="show">Simple show and Hide switch</h1>
<button @click="show= ! show" x-text=" show ? 'Hide' : 'Show'">toggle</button>
</div>
This shows off the simple nature of
Lorem ipsum delor sit amet.
Lorem ipsum delor sit amet.
Lorem ipsum delor sit amet.