if i add the module to my main.js file, I get this error:
ERROR Failed to compile with 1 error 16:53:38
error in ./node_modules/@coleqiu/vue-drag-select/dist/vue-drag-select.es.js
Module parse failed: Unexpected token (36:31)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }
| function oe(t, e = {}) {
const l = e.draggingElement ?? window, o = (v) => v.isPrimary ? e.pointerTypes ? e.pointerTypes.includes(v.pointerType) : !0 : !1, n = (v) => {
| c(e.preventDefault) && v.preventDefault();
| }, i = (v) => {
if i add the module to my main.js file, I get this error:
ERROR Failed to compile with 1 error 16:53:38
error in ./node_modules/@coleqiu/vue-drag-select/dist/vue-drag-select.es.js
Module parse failed: Unexpected token (36:31) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | } | function oe(t, e = {}) {
@ ./src/main.js 31:0-53 59:16-29 @ multi (webpack)-dev-server/client?http://192.168.17.220:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
Is this a error of the module, or a error of my webpack? I hope you can give me a push in the right direction