Closed
Description
I'm tried to use the module with my vuejs project.
I get the error below:
./node_modules/vue-pivottable/src/PivottableUi.js
Module parse failed: Unexpected token (341:14)
You may need an appropriate loader to handle this file type.
| : h(Pivottable, {
| props: {
| ...props,
| tableMaxWidth: this.tableMaxWidth
| }
@ ./node_modules/vue-pivottable/src/index.js 2:0-44
@ ./src/main.ts
@ multi (webpack)-dev-server/client?http://0.0.0.0:8081 webpack/hot/dev-server ./src/main.ts
this is my loader?
{
test: /\.js$/,
use: utils.scriptLoaders(scriptLoadersOptions).js,
include: [resolve('src'), resolve('test')]
},