You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Composable libraries that rely on @vue/runtime-core have their reactivity system broken.
For example vue-composable uses @vue/runtime-core as peerDependency.
When used with vite, because of vite uses the runtime.esm-browser it will include all the reactivity system in one file, making the third-party libraries that rely on runtime-core broken.
This can be fixed by changing the import on the third-party to vue instead of runtime-core.
Ideally I would expect the runtime-core to be a proxy of vue
The text was updated successfully, but these errors were encountered:
Describe the bug
Composable libraries that rely on
@vue/runtime-core
have their reactivity system broken.For example vue-composable uses
@vue/runtime-core
aspeerDependency
.When used with
vite
, because of vite uses theruntime.esm-browser
it will include all the reactivity system in one file, making the third-party libraries that rely onruntime-core
broken.System Info
vite
version: 0.11.1vue
version: beta.9@vue/compiler-sfc
version: beta.9Reproduction
Install
vite
and use this component as App.vueFixes
This can be fixed by changing the import on the third-party to
vue
instead ofruntime-core
.Ideally I would expect the
runtime-core
to be a proxy ofvue
The text was updated successfully, but these errors were encountered: