in Vue2 I had:
console.log(Vue.version);
How do I get the version now in Vue 3? Do I get it somehow out from the context?
in Vue2 I had:
console.log(Vue.version);
How do I get the version now in Vue 3? Do I get it somehow out from the context?
What you have should work.
See example:
console.log(Vue.version)
<script src="https://unpkg.com/vue@3.0.2/dist/vue.global.prod.js"></script>
The issue may be that you are calling a different vue bundle, try using/importing vue.global.