Bind vuex state and mutations to checkbox component properties in TypeScript-based Vue
This warnings occurred in Electron application. The SimpleCheckbox
is from node_modules
, however this library is still in development, so it has been provided by npm link
.
When I tried to make reproduction, I created the SPA for browser and place SimpleCheckbox
to same project (did not get from node_modules
). The first solution works! (I don't care about second and third ones - I need refined from peel elegant solutions only).
I suggested that cause is npm link
, publish my libraries and installed it via npm install
. The warnings has disappeared!
Conclusion
It was not the first time when npm link
causes the problem like this. Here is another case.
I still does not understand this this case in depth - I just published some experimental data. The "So, what if library is in development yet?" question still has not answer. I tried Lerna - at the first time warnings has disappeared, but when I move my project to Lerna, the warnings appears again - the regularity is unclear yet for me.