skeleton loader vue code example
Example: vue js skeleton loading
import { Skeleton, Skeleton } form 'vue-loading-skeleton'; <SkeletonTheme color="#e6f3fd" highlight="#eef6fd"> <div class="item"> <div class="item__photo"> <PuSkeleton circle height="50px"> {{ props.data.img }} </PuSkeleton> </div> <div class="item__meta"> <div class="item__title"> <PuSkeleton>{{ props.data.title }}</PuSkeleton> </div> <div class="item__info"> <PuSkeleton :count="2">{{ props.data.body }}</PuSkeleton> </div> </div> </div></SkeletonTheme>