check if alpine js is activated in website
You can check by adding below code and if h1 toggled on click then setup was
done successfully!
<div x-data="{ isOpen: true }">
<button x-on:click=" isOpen = !isOpen">Toggle</button>
<h1 x-show="isOpen">Alpinjs</h1>
</div>
Are there any code examples left?
New code examples in category Javascript