Vue在浏览器报错Uncaught Error: Cannot find module ‘[object Object]‘
Vue在浏览器报错Uncaught Error: Cannot find module '[object Object]'
·
报错信息:
Uncaught Error: Cannot find module '[object Object]'
at webpackEmptyContext (eval at ./src/api sync recursive (app.js:1157:1), <anonymous>:2:10)
at eval (test.js?63a1:16:1)
at ./src/api/test.js (app.js:1169:1)
at __webpack_require__ (app.js:854:30)
at fn (app.js:151:20)
at eval (HelloWorld.vue?140d:11:1)
at ./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/HelloWorld.vue?vue&type=script&lang=js& (app.js:1007:1)
at __webpack_require__ (app.js:854:30)
at fn (app.js:151:20)
at eval (HelloWorld.vue?47bd:1:1)
报错原因和修改:
更多推荐
已为社区贡献1条内容
所有评论(0)