0.1.1 • Published 3 years ago

alpine-hotwire-turbo-adapter v0.1.1

Weekly downloads
15
License
MIT
Repository
-
Last release
3 years ago

Alpine Hotwire Turbo Adapter

alpine-hotwire-turbo-adapter allows you to add support for Alpine.js to your Hotwire Turbo powered apps. It handles Hotwire Turbo events to properly clean up the DOM from Alpine generated code when navigating between pages.

Install

From CDN

<script src="https://cdn.jsdelivr.net/npm/alpine-hotwire-turbo-adapter@0.1.1/dist/alpine-hotwire-turbo-adapter.min.js" defer></script> 

From NPM

Install the package

npm i alpine-hotwire-turbo-adapter

Include it in your script along with Alpine JS.

import 'alpine-hotwire-turbo-adapter'
import 'alpinejs'
0.1.1

3 years ago

0.1.0

3 years ago