Closed Richard-Choooou closed 5 years ago
如果设置成true,则会报模块解析错误,You may need an appropriate loader to handle this file type 如果不设置,则vue会报 Failed to mount component: template or render function not defined. 请问这种情况该如何处理
vue-loader: "^15.4.1" webpack: "^4.17.1"
找到原因了,貌似是不能用webpack的import()函数导入,但是我之前阅读elementui的源码时,看见 element ui 的md文件是异步导入的,是webpack版本不同的原因吗?
如果设置成true,则会报模块解析错误,You may need an appropriate loader to handle this file type 如果不设置,则vue会报 Failed to mount component: template or render function not defined. 请问这种情况该如何处理
vue-loader: "^15.4.1" webpack: "^4.17.1"