[Vuejs]-Volar erring on every intrinsic in a Vue template

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.

Leave a comment