You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.
If I use this package in 2 different libraries and then use this 2 librares in another one then thw following problem occurs:
index.js:104 Uncaught TypeError: Cannot redefine property: $events
at Function.defineProperty (<anonymous>)
at plugin (index.js:104)
at Function.Vue.use (vue.common.js:4618)
at Object.disposed (index.js:148)
at __webpack_require__ (bootstrap 7ecffedbdf2f7047c51d:19)
at Object.disposed (forge-bootstrap.js:1)
at __webpack_require__ (bootstrap 7ecffedbdf2f7047c51d:19)
at Object.<anonymous> (app.js:18)
at __webpack_require__ (bootstrap 7ecffedbdf2f7047c51d:19)
at Object.<anonymous> (app.js:25575)
Any clue how can I solve this problem?
The text was updated successfully, but these errors were encountered:
// Extend `Vue.prototype` to include our global event bus.
if (! Vue.prototype.hasOwnProperty('$events')) {
Object.defineProperty(Vue.prototype, '$events', {
get: function get() {
return events;
}
});
}
When defining $events property. Do you want I create a PR?
But reading the code ti seems to me that this is a Bug related with:
If I use this package in 2 different libraries and then use this 2 librares in another one then thw following problem occurs:
Any clue how can I solve this problem?
The text was updated successfully, but these errors were encountered: