Vue 3 support?
gaetandezeiraud opened this issue · comments
Currently, I have the following error Uncaught TypeError: Cannot set property '$gates' of undefined
.
At :
var index = {
install: function install(Vue) {
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var gate = new Gate(options);
Vue.prototype.$gates = gate; // here
Vue.gates = gate;
registerDirectives(Vue);
}
};
A fix #24
Excellent
I'm having trouble getting the directive name, it turns out that binding.name
doesn't exist