title: "You may need an appropiate loader to handle this file type" webpack and vue
body: <p>I'm trying to compile webpack with the command:   </p>
  
  <blockquote>
    <p>node_modules/.bin/webpack</p>
  </blockquote>
  
  <p>and i get the error:</p>
  
  <pre><code>Module parse failed: 
  /home/vagrant/Code/stream/resources/assets/js/views/Contact.vue 
  Unexpected token (1:0)
  You may need an appropriate loader to handle this file type.
  </code></pre>
  
  <p>webpack show the error in each file with extension .vue</p>
  
  <p>my routes looks like this   </p>
  
  <pre><code>import VueRouter from 'vue-router';
  
  let routes = [
  {
      path: '/',
      component: require('./views/Home')
  },
  
  {
      path: '/about',
      component: require('./views/Test')
  },
  
  {
      path: '/contact',
      component: require('./views/Contact')
  }
  ];
  
  export default new VueRouter({
  routes,
  linkActiveClass: 'is-active'
  });
  </code></pre>