[Vuejs]-Can't uninstall @vue/composition-api because of peerDependencies?

0👍

In my opinion this is not a problem that @vue/composition-api plugin is still in your package-lock.json file, vue-demi package needs this so it is installed as a dependency of this package.

What you need to do is remove @vue/composition-api from your dependencies from your package.json file (and you did this as far as I understand), and change the imports accordingly.

For example, from this:

import { ref } from '@vue/composition-api';

to this:

import { ref } from 'vue';

0👍

You might need to uninstall it along with vue-composable if you have it installed

Leave a comment