Vue 3 composable and directive for integrating Popper.js v2.x positioning engine. Current stable version 2.3.8, actively maintained. Provides both a usePopper composable and a v-popper directive for tooltips, popovers, and dropdowns. Ships TypeScript definitions. Peer dependency on Vue 3.2.37+. Key differentiator: lightweight, composable-first approach vs heavier alternatives like Vuetify tooltips.
npm install vue-use-popperjsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows plugin registration, usePopper composable with TypeScript, and Vue 3 template usage.
Use vue-use-popperjs v1.x for Vue 2 projects.
Install plugin: app.use(VueUsePopperjs) or import and use VPopper directly.
Migrate from v-popper to usePopper composable.
Cast attributes.value.popper as PopperAttributes if strict types needed.
Install @popperjs/core@^2.0.0.
Ensure package is installed: npm install vue-use-popperjs. If using TS, check tsconfig includes node_modules types.
Import { usePopper } from 'vue-use-popperjs' directly in component instead of relying on global.