I have a component I'd like to release to NPM with simple v-model functionality.
as such, it'd be ideal if it could run on vuejs 2/3 interchangeably.
I can brute force the behaviour for both by setting the component to emit input and update:modelValue but a more elegant solution would be to verify the user's implementation and emit accordingly. Is there a "version" property available somewhere in the toolchain at runtime? Alternatively, what would be the (or one of the) best way(s) to gracefully detect the version of the client's build?