The lazy loading component of v-lazy pictures in mint-ui in vue cannot be configured.

the whole mintui library is introduced into main.js without setting the style and has a default rotation style. After the picture setting does not take effect, the rotation image cannot be replaced

.

clipboard.png

clipboard.png
ng] (/ img/bVbgsek) is also invalid after being introduced alone.


if the list is not scrolling on window, you need to pass the id attribute of the scrolled element to the v-lazy instruction
< div id= "container" >

    in the form of a modifier.
    <li v-for="item in list">
      <img v-lazy.container="item">
    </li>


< / div >


failed to find the configuration method in mintui and solve it after introducing vue-lazyload

Menu