Home > front end >  Using the vue encapsulates loading components
Using the vue encapsulates loading components

Time:11-30

Vue encapsulates loading component
At first, because the reuse components under loading new folder, then the new index. Vue,
2. Write a oneself to like the style of the loading and structure
3. Write because many places use global, main. Js,
Import Loading from '@/components/Loading'
Vue.com ponent (loading, loading)

CodePudding user response:

You're so smart

CodePudding user response:

Ha ha,

CodePudding user response:

Perfect point directly encapsulation method to mount to the vue prototype in the app. The vue introduced a call directly elsewhere this. LoadShow (); Enclosing loadHide ()
  • Related