SimoTod/alpine-turbo-drive-adapter
À propos
Bridge library to enable full support for Alpine components in pages using Turbolinks
Outils de développementProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalAlpine Turbo Drive Adapter
Alpine-turbo-drive-adapter allows you to add support for Alpine.js V3 to your Turbolinks/Turbo powered apps. It handles events to properly clean up the DOM from Alpine generated code when navigating between pages.
If you look for the Alpine v2 version, look at the 1.x branch.
Install
From CDN
Just include <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/alpine-turbo-drive-adapter.min.js" defer></script> before your Alpine script in your page
From NPM
Install the package
npm i alpine-turbo-drive-adapter
Include it in your script along with Alpine JS (make sure Alpine is available on the window object).
import 'alpine-turbo-drive-adapter'
import Alpine from 'alpinejs'
window.Alpine = Alpine
Explorer des projets similaires
Chargement…