feat:尝试添加vue main.js 多入口

This commit is contained in:
zhangyu
2022-04-29 18:50:01 +08:00
parent 5a21a58dc0
commit 95211b49ed
27 changed files with 1052 additions and 97133 deletions

View File

@@ -58,7 +58,8 @@ const devWebpackConfig = merge(baseWebpackConfig, {
favicon: path.resolve(__dirname, '../src/assets/img/favicon.ico'),
filename: 'index.html',
template: 'index.html',
inject: true
inject: true,
chunks: ['entrance']
}),
// copy custom static assets
new CopyWebpackPlugin([