-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index.html不引入bundle.js #6
Comments
目前如果是生产环境的话还有问题,正在修复,但是如果是开发的话是没问题的 |
@hechuanhua 但是我看你线上是没有问题的, |
@hechuanhua 还有 我想问一下 这样是正常吗? |
线上暂时没有加服务端渲染,这个项目里面现在是加了服务端渲染的,如果是生产环境的话有点问题,正在开发 |
你用了按需加载在主页肯定也要引入bundle,相当于主页的chunk就是bundle.js,然后你跳到其他的路由再去加载对应的chunk |
好 谢谢 参考完你的webpack.config.js了 发现我没有利好用html-webpack-plugin |
你好,我想问一下你,你的index.html里面没有引入webpack打包后的bundle.js,那你是如何启动项目的
The text was updated successfully, but these errors were encountered: