使用WebStorm报错 Namespace 'v-bind' is not bound


一:报错描述:
                Namespace 'v-bind' is not bound、Namespace 'v-on' is not bound 等

二:问题说明:
               出现这个错误不是编码错误,而是WebStorm这个编译器的问题,设置一下就解决了。

三. 解决方法:
               依次打开 File-->Preferences for New Projects--> Editor--> Inspections-->XML-->Unbound XML namespace prefix(取消勾选这个选项即可)

猜你喜欢

转载自blog.csdn.net/weixin_44022886/article/details/88868583