Skip to content

webcodebg/vue-skeleton-loader

Repository files navigation

vue-skeleton-loader logo

Vue Skeleton Loader

Show component's skeleton before it's loaded

Installation

Via NPM

import Vue from 'vue'
import VueSkeletonLoader from 'vue-skeleton-loader'

// Extends also premade components for styling
Vue.use(VueSkeletonLoader)

Via CDN

<!-- Import vue cdn here -->
<script src="https://cdn.jsdelivr.net/gh/webcodebg/vue-skeleton-loader/dist/vue-skeleton-loader.min.js"></script>
Vue.use(window.vueSkeletonLoader)

Usage

Drawing a skeleton

TODO: add docs for drawing skeletons

Using premade skeletons

TODO: create social media skeleton Social media post skeleton component

<vue-social-skeleton></vue-social-skeleton>

Article skeleton component

<vue-article-skeleton></vue-article-skeleton>

Preview: vue-skeleton-loader article preview

Contributions

Read contributions file to get started and guides

License

MIT License

Copyright (c) 2019 Webcode

Releases

No releases published

Packages

No packages published