$globals$globals allow you share state between components.
export default {
mounted() {
// This value is then available in all other components
this.$globals.hasMountedA = true;
},
destroyed() {
this.$globals.hasMountedA = false;
}
}
$configNative (or altered) config injected on initialization via Vue.use(NoahUi, congif) is stored in a global $config object for ease of access.
export default {
computed: {
someProp() {
return this.$config.components.MyComponent.foo.bar;
}
}
}