0👍
Why the following works I am not clear, but it does:
npm install @vue/runtime-dom
I guess it has the interface ‘JSX.IntrinsicElements’, whatever that is.
0👍
In my case this was caused because one of my packages in node-modules
defined its own global interface IntrinsicElements
: https://github.com/NightCatSama/vue-slider-component/issues/639. Upgrading the package to 4.1.0-beta.7
resolved the issue.
- [Vuejs]-Laravel View – Import Vue component
- [Vuejs]-Rethrowing an error causes vue warning in jest test
Source:stackexchange.com