UPDATE: vue-tables-2 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
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 :
Error: ./~/vue-tables-2/lib/template.jsx Module build failed: SyntaxError: Unexpected token (15:7)
The corresponding character is <
Small precision, I added this line to the webpack configuration:
{ test: /\.jsx?$/, loader: 'babel' }
Do you have any advice ?
Thanks