Replies: 1 comment 1 reply
-
遇到了同样的问题,参照这个解决了,希望对你有帮助 https://blog.csdn.net/weixin_68008943/article/details/131783110 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
报错信息如下:
ERROR Failed to compile with 3 errors 10:58:39
[eslint]
C:\Users\nemo\Desktop\Ai_System\aisystem\src\components\CommonAsider.vue
95:25 error Parsing error: Unexpected token, expected "," (9:25)
✖ 1 problem (1 error, 0 warnings)
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
error in ./src/components/CommonAsider.vue?vue&type=script&lang=ts&setup=true
Module parse failed: Unexpected token (15:23)
File was processed with these loaders:
You may need an additional loader to handle the result of these loaders.
| __expose();
|
error in ./src/components/CommonAsider.vue?vue&type=template&id=2c35a5b5&ts=true
Module parse failed: Unexpected token (14:27)
File was processed with these loaders:
You may need an additional loader to handle the result of these loaders.
| const _hoisted_10 = /#PURE/_createElementVNode("span", null, "Navigator Four", -1 /* HOISTED */)
|
ERROR in ./src/components/CommonAsider.vue?vue&type=script&lang=ts&setup=true (./node_modules/.pnpm/vue-loader@17.4.2_vue@3.4.19_webpack@5.90.3/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/CommonAsider.vue?vue&type=script&lang=ts&setup=true) 15:23
Module parse failed: Unexpected token (15:23)
File was processed with these loaders:
You may need an additional loader to handle the result of these loaders.
| __expose();
|
ERROR in ./src/components/CommonAsider.vue?vue&type=template&id=2c35a5b5&ts=true (./node_modules/.pnpm/vue-loader@17.4.2_vue@3.4.19_webpack@5.90.3/node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/.pnpm/vue-loader@17.4.2_vue@3.4.19_webpack@5.90.3/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/CommonAsider.vue?vue&type=template&id=2c35a5b5&ts=true) 14:27
Module parse failed: Unexpected token (14:27)
File was processed with these loaders:
You may need an additional loader to handle the result of these loaders.
| const _hoisted_10 = /#PURE/_createElementVNode("span", null, "Navigator Four", -1 /* HOISTED */)
|
ERROR in [eslint]
C:\Users\nemo\Desktop\Ai_System\aisystem\src\components\CommonAsider.vue
95:25 error Parsing error: Unexpected token, expected "," (9:25)
✖ 1 problem (1 error, 0 warnings)
webpack compiled with 3 errors
代码就是element-plus -> Navigation 导航 -> Menu 菜单 -> 侧栏的完整源代码,求救,卡好久了。
Beta Was this translation helpful? Give feedback.
All reactions