[Solved] Component name “login“ should always be multi-word.

1. Find the vue.config.js file, copy the code into the file and recompile (it may not be useful)

const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false
})

2. Use Camel-Case method to name file (valid for personal test)

Example: myLogin.vue

Read More: