Closed SeanCyberflow closed 4 months ago
First, your version of vue2 may be outdated. We don't support 2.7.x or earlier. Also, support for Vue2 ended at the end of last year, so we cannot guarantee that it will work.
First, your version of vue2 may be outdated. We don't support 2.7.x or earlier. Also, support for Vue2 ended at the end of last year, so we cannot guarantee that it will work.
ok,Thanks for your help.
when I import the Component to my vue file encounter some error
in ./node_modules/vue-codemirror6/dist/index.es.js
Module parse failed: Unexpected token (24:123) You may need an appropriate loader to handle this file type. | }; | var ge = ie; | const le = (e) => e ? Object.entries(e).reduce((l, [i, u]) => (i = i.charAt(0).toUpperCase() + i.slice(1), i =
on${i}
, { ...l, [i]: u }), {}) : {}; | function B(e, l = {}, i) { | if (X)@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/CodeMirror/index.vue 8:0-41 @ ./src/components/CodeMirror/index.vue @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/configCenter/bannerDiscover/index.vue @ ./src/views/configCenter/bannerDiscover/index.vue
I already switch node.js version -> v14.21.3 v16.0.0 v20.15.1
project package.json dependencies
Is there any other information I need to provide?