报错:
[Vue warn]: Failed to resolve component: counter
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
at
![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/913407930936123.jpg “#left”)
检查根据提示( Failed to resolve component: counter)检查,找出报错原因是component写错了,正确的是components,少了一个s;