NaNoWriMo Promotes Manuscription
    Wondering what’s next for npm?Check out our public roadmap! »

    alpine-turbo-drive-adapter

    1.1.0 • Public • Published

    Alpine Turbo Drive Adapter

    npm npm bundle size

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

    Install

    From CDN

    Just include <script src="https://cdn.jsdelivr.net/npm/alpine-turbo-drive-adapter@1.1.x/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.

    import 'alpine-turbo-drive-adapter'
    import 'alpinejs'

    Install

    npm i alpine-turbo-drive-adapter

    DownloadsWeekly Downloads

    1,568

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    73.1 kB

    Total Files

    66

    Last publish

    Collaborators

    • avatar