This is great and just what I need to do with vue-concurrency.
I am missing one thing though: this just solves testing, but the importing from ./api would effectively make the lib possible to use only for Vue 3 right? So there's some more hacking needed to make the library usable both with Vue 2 and Vue 3.
This is great and just what I need to do with vue-concurrency.
I am missing one thing though: this just solves testing, but the importing from
./api
would effectively make the lib possible to use only for Vue 3 right? So there's some more hacking needed to make the library usable both with Vue 2 and Vue 3.To answer my own question: vue-composable renames the file as needed during build.
github.com/pikax/vue-composable/bl...