一:报错描述:
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(取消勾选这个选项即可)