报错信息:
app.js:1163[Vue warn]: Failed to resolve async component: () => Promise.all(/*! import() */[__webpack_require__.e(13), __webpack_require__.e(16)]).then(__webpack_require__.bind(null, /*! ./src/.vuepress/components/Three/3DTomography */ "./src/.vuepress/components/Three/3DTomography.vue")) Reason: ReferenceError: global is not defined
解决方法:
module.export = {
// config.js加上这段
configureWebpack: {
node: {
global: true,
process: true
}
}
}