Mixin function is not exported but mentioned in the doc.
Closed this issue · 4 comments
chanlito commented
eshimischi commented
Look to the right Example: https://github.com/wonderful-panda/vue-tsx-support#mixin
chanlito commented
eshimischi commented
check your package.json
"devDependencies": { ... "vue-tsx-support": "^2.1.1", ... }
and https://github.com/wonderful-panda/vue-tsx-support#install-and-enable !!
wonderful-panda commented
@chanlito This is intentional. Document is wrong.
tsx.mixin(...)
is confusing (It seems to be a function which returns a mixin object, not a factory).
I'll fix document and consider exposing mixin
with some other name