resolve: { extensions: ['.js', '.vue', '.json'], alias: { '@': path.resolve('src') } } 转载于:https://www.cnblogs.com/Nyan-Workflow-FC/p/10769068.html