{"library":"vue-turbolinks","type":"library","category":null,"description":"vue-turbolinks is a JavaScript package designed to facilitate the integration of Vue.js components into applications that utilize Turbolinks or Hotwire's Turbo. Its primary function is to manage the lifecycle events of Vue components—specifically their proper setup and teardown—within the context of a Turbolinks/Turbo page navigation cycle. This allows developers to incrementally add interactive Vue elements to traditional server-rendered applications without converting them into full Single-Page Applications (SPAs). The current stable version is 2.2.2, with recent minor updates indicating active maintenance. A key differentiator is its explicit focus on solving the challenges of combining Vue's reactivity with Turbolinks'/Turbo's caching mechanisms, making it unsuitable and unnecessary for projects already employing client-side routing libraries like Vue Router.","language":"javascript","status":"active","version":"2.2.2","tags":["javascript","vue","turbolinks","hotwire","turbo"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-turbolinks","imports":["import TurbolinksAdapter from 'vue-turbolinks';","import { turbolinksAdapterMixin } from 'vue-turbolinks';","Vue.use(TurbolinksAdapter, { destroyEvent: 'turbo:before-cache' });"]},{"cmd":"yarn add vue-turbolinks","imports":[]},{"cmd":"pnpm add vue-turbolinks","imports":[]}],"homepage":null,"github":"https://github.com/jeffreyguenther/vue-turbolinks","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-turbolinks","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-turbolinks/compatibility"}}