IntelliJ CMD/CTRL + LMB on <ComponentName> tag not working in VueJS project IntelliJ CMD/CTRL + LMB on <ComponentName> tag not working in VueJS project vue.js vue.js

IntelliJ CMD/CTRL + LMB on <ComponentName> tag not working in VueJS project


So I found the problem. Its about the way how you export your Components.

Working

export default {  name: 'ComponentA',};

Broken

const componentA = {  name: 'ComponentA',}export default componentA;

For CTRL+LMB navigation to work in Vue template, both ComponentA and component that is importing it need to be in the "correct" format.