The vUE first screen loading is too slow and the white screen duration is too long

By writing a loading animation in the APP, the page will not be blank. Even if the blank screen is blank, the loading page will be displayedThe best practice is to add this loading element at the bottom of the app, and then set the corresponding level to -1. When there is content in the app, the original loading map will be removed

  <div id="app"></div>
  <div id="loader-wrapper">
      <div id="loader"></div>
      <div class="loader-section section-left"></div>
      <div class="loader-section section-right"></div>
      <div class="load_title">System resources are being loaded. Please wait patiently</div>
  </div>
<! -- Loading style -->
Copy the code