Vue uses routing lazy loading. When you press F5 to refresh, app.vue, the top-level parent component, will appear briefly.

as shown in the figure, after routing lazy loading is set, when the page is refreshed, the html content in app.vue will appear briefly

this will not happen if routing lazy loading is not set. No matter how the page is refreshed, it is the content of the current page. Only lazy loading is used

Mar.16,2021
Menu