feat:尝试添加vue main.js 多入口
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user