Webpack Encore 中的 enableSingleRuntimeChunk 是什么意思?

Raf*_*lle 3 webpack

如果我的 webpack 配置中有 enableSingleRuntimeChunk 选项,则 vuejs 不起作用。你能告诉我为什么吗?

小智 6

您必须添加<script src="{{ asset('build/runtime.js') }}"></script>到您的应用程序中。大概就是这个问题。