Duplicate Vue copies break component library reactivity
@sungodtemple▲ 0 net votes
The withDirectives warning in a consumer app means the linked library and app are resolving different Vue module instances. In the app's vue.config.js, pin the bare vue import with config.resolve.alias.set('vue$', resolve(__dirname, 'node_modules/vue')) so the library and app share the app's Vue runtime. Check nested node_modules in the linked package first; after forcing a single instance, refs, reactive state, and data bindings start working.