IDE: IDEA中使用vue 报 Namespace 'xxx' is not bound的解决办法

问题编辑页中v-on指令标红并提示 Namespace ‘v-on’ is not bound 

解决办法

file—》Settings下IDEA中使用vue 报 Namespace 'xxx' is not bound的解决办法

点ok后标红提示的问题解决,此方法是 Namespace 'xxx' is  not bound 通用解决方式

编辑页报错是解决了,但是我浏览器中演示点击按钮还是没有效果,之前用<input type="button" @click="" value="点我">这种方式,想着是不是使用了普通按钮造成的换回<input type="button" >也没效果,最后检查发现是vue实例中有语法错误,修改后问题解决。 

相关文章:

  • 2021-11-18
  • 2021-07-28
  • 2021-09-21
  • 2021-05-17
  • 2021-04-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-06
  • 2021-08-10
  • 2022-01-17
  • 2022-12-23
  • 2021-05-13
相关资源
相似解决方案