Closed gaetandezeiraud closed 4 years ago
Currently, I have the following error Uncaught TypeError: Cannot set property '$gates' of undefined. At :
Uncaught TypeError: Cannot set property '$gates' of undefined
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 https://github.com/williamcruzme/vue-gates/pull/24
Excellent 🥇, I'll work on that
I'm having trouble getting the directive name, it turns out that binding.name doesn't exist 😢
binding.name
Currently, I have the following error
Uncaught TypeError: Cannot set property '$gates' of undefined
. At :