You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
服务器可以渲染出dom,但是没有在头部内敛css,在浏览器端运行后会在 head 中会插入<script charset="utf-8" src="/public/js/chunk/1.js"></script>和css,因为css是后加载的,所以页面会闪烁。我想咨询一下是否可以在首屏渲染时,异步组件的css能插入head中,并且浏览器端不要在首屏时插入chunk,而是只在触发事件时候再请求组件。
The text was updated successfully, but these errors were encountered:
服务器可以渲染出dom,但是没有在头部内敛css,在浏览器端运行后会在 head 中会插入
<script charset="utf-8" src="/public/js/chunk/1.js"></script>
和css,因为css是后加载的,所以页面会闪烁。我想咨询一下是否可以在首屏渲染时,异步组件的css能插入head中,并且浏览器端不要在首屏时插入chunk,而是只在触发事件时候再请求组件。The text was updated successfully, but these errors were encountered: