Skip to content

Conversation

@gXiah
Copy link

@gXiah gXiah commented Jan 26, 2021

Fixed the following :
Installing the vuejs-logger plugin using app.use(VueLogger, options) does not work.
The error is TypeError: Vue.prototype is undefined
Stacktrace extract : vue-logger.js:20

@Glandos
Copy link

Glandos commented Jan 31, 2022

But, this breaks Vue 2.

@gXiah
Copy link
Author

gXiah commented Jan 31, 2022

@Glandos Adding a condition on the version of Vue might be a solution

By using Vue.version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants