Vue Add Globals Utility

JSON →
library 2.0.1 ·javascript abandoned
verified May 27, 2026

Vue Add Globals provides a utility function to programmatically add global methods, directives, mixins, and properties to Vue instances. It is specifically designed for use with Vue 2 applications, often employed in testing scenarios to mock or extend the global Vue constructor or instances derived from it using `Vue.extend()`. The current stable version is 2.0.1, but the package is no longer actively maintained, with its GitHub repository having been archived by the owner in 2017. Its release cadence was sporadic. A key differentiator was its ability to dynamically extend Vue's global capabilities without modifying the core `Vue` object directly if used with `Vue.extend()`, making it useful for isolated test environments. However, its design principles are largely incompatible with Vue 3's new application instance API, which moved away from a global Vue constructor pattern.

total hits 15
actors 6 distinct systems
last hit 5d ago MJ12bot
GPTBot
5
MetaBot
4
Script
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany