1👍
It’s always important to understand what an error is trying to tell you.
First, the provided code snippet does not show where the error is. The error says it’s in your src\views\Posts.vue
file. I believe you’ve given us code from your router file.
Second, the error also says that it comes from eslint which is a utility meant to enforce specific coding formatting standards. You’re running into an error from an eslint rule called "vue/multi-word-component-names". Simple google search returns the rule documentation.
Anyways, to resolve this error you can either follow the rule and give the name of your component a multi-word name, or you can change your eslint config and simply turn the rule off.
.eslintrc
"rules": {
"vue/multi-word-component-names": "off"
}
Source:stackexchange.com