Problem

看到项目中有
module.exports = file => require('@/views/' + file + '.vue').default // vue-loader at least v13.0.0+
module.exports = file => () => import('@/views/' + file + '.vue')

这两句话有什么差别啊?

原文地址:https://www.cnblogs.com/can-i-do/p/12142099.html