vue2 cli2 import bootstrap5 error #39529
Unanswered
jim19970515
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
vue2 cli2 import bootstrap5 error
npm run dev this problem error
in ./node_modules/bootstrap/dist/js/bootstrap.esm.js
Module parse failed: Unexpected token (618:6)
You may need an appropriate loader to handle this file type.
|
| return {
| ...this.constructor.Default,
| ...(typeof jsonConfig === 'object' ? jsonConfig : {}),
| ...(isElement(element) ? Manipulator.getDataAttributes(element) : {}),
@ ./src/main.js 6:0-19
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
but use bootstrap 4 no error
Looking for someone to help me
Beta Was this translation helpful? Give feedback.
All reactions