DEV Community

Discussion on: How to test your library for vue 2 and vue-next

Collapse
martinmalinda profile image
Martin Malinda

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.

Collapse
martinmalinda profile image
Martin Malinda

To answer my own question: vue-composable renames the file as needed during build.

github.com/pikax/vue-composable/bl...