title: error The "Login" component has been registered but not used vue/no-unused-components
body: <p>I am getting following error:<br>
           The "Login" component has been registered but not used       vue/no-unused-components and 
         error  The "HelloWorld" component has been registered but not used  vue/no-unused-components.<br>
         but why it is giving i am not getting any idea. i am new to vue.</p>
  
  <pre><code>router.js
  
  import Vue from 'vue'
  import VueRouter from 'vue-router';
  import Login from './components/Login.vue';
  import HelloWorld from './components/HelloWorld.vue';
  
  Vue.use(VueRouter)
  
  export default new VueRouter({
      routes: [
          {
              path: '/',
              name: 'Login',
              component: Login
          },
          {
              path: '/helloworld',
              name: 'Helloworld',
             component: HelloWorld
          },
      ]
  })
  
  App.vue
  
   &lt;template&gt;
    &lt;div id="app"&gt;
      &lt;router-view&gt;&lt;/router-view&gt;
    &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
  import Login from './components/Login.vue'
  import HelloWorld from './components/HelloWorld.vue'
  
  export default {
    name: 'App',
    components: {
        Login,
        HelloWorld
    }
  }
  &lt;/script&gt;
  
  &lt;style&gt;
  #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
     }
  &lt;/style&gt;
  </code></pre>