title: Module build failed: SyntaxError: Unexpected token with babel-plugin-transform-vue-jsx
body: <p><strong>UPDATE</strong>: <a href="https://github.com/matfish2/vue-tables-2" rel="nofollow noreferrer">vue-tables-2</a> is now served pre-compiled, so no loaders are needed. For the templates option it is recommended to use scoped slots, which also don't require any special settings</p>
  
  <p>I am trying to migrate to Vue 2 and for this I need to use the vue-tables-2 component. I am using Laravel Elixir with webpack to compile my Vue projects. I followed the instructions and installed babel-plugin-transform-vue-jsx and its dependencies and create the .babelrc at the same level as the main script. The below error is displayed :</p>
  
  <p>Error: ./~/vue-tables-2/lib/template.jsx
  Module build failed: SyntaxError: Unexpected token (15:7)</p>
  
  <p>The corresponding character is &lt;</p>
  
  <p>Small precision, I added this line to the webpack configuration:</p>
  
  <pre><code>{ test: /\.jsx?$/, loader: 'babel' }
  </code></pre>
  
  <p>Do you have any advice ?</p>
  
  <p>Thanks</p>