1

I have a Vue component and a Javascript files as follows.

Test.vue

enter image description here

test.js

enter image description here

As shown in the Screenshot, VS code show the reference of the testFunc function in the Vue component, but in the test.js file, testFunc shows 0 references. How should I fix this?

Penny Liu
  • 15,447
  • 5
  • 79
  • 98
Akila Randil
  • 205
  • 1
  • 10

1 Answers1

0

The issue was with the Vuter plugin. I removed that and installed the Volar plugin and it worked.

Penny Liu
  • 15,447
  • 5
  • 79
  • 98
Akila Randil
  • 205
  • 1
  • 10