vue-storefront
vue-storefront copied to clipboard
Update Composition API packages
trafficstars
Currently, @vue/composition-api and @nuxtjs/composition-api packages are added as a dependency or peer dependency in few packages, making it harder for us to update them.
Additionally, we use the old beta version, which is a risky thing to use in production.
Finally, every time we update them, we must ensure that we require the same version of @vue/composition-api as @nuxtjs/composition-api requires. Otherwise, it throws a bunch of errors.
I propose that we:
- remove
@vue/composition-apifrom dependencies and peer dependencies of all packages, since it's already a dependency of@nuxtjs/composition-api; - update
@nuxtjs/composition-apito the latest version; - add the following to all packages that depend on the CompositionAPI:
{
"peerDependencies": {
"@vue/composition-api": "*"
}
}
Any updates regarding this issue?
Issue is closed. Reason: Too Old (>6 months)
Sergii Kirianov
Developer Advocate
Vue Storefront