imps-skeleton-loader
v1.0.3
Published
A vue js component for sekeleton loader
Downloads
125
Maintainers
Readme
Imps Skeleton Loader
Skeleton loader vue component. Working on vue2 and vue3 both
Documentation
see documentation here
installation
Vue2
npm i imps-skeleton-loader --tag=v2
Vue3
npm i imps-skeleton-loader --tag=v3
Usage
#Vue 2
// import and use in your main.js file
import Vue from 'vue'
import App from './App.vue'
import ImpsSekeletonLoader from 'imps-skeleton-loader';
Vue.use(ImpsSekeletonLoader);
new Vue({
render: h => h(App),
}).$mount('#app')
// use on vue components
<template>
<div>
<imps-skeleton-loader width="100px" height="100px" round="100px"/>
</div>
</template>
#Vue 3
// import and use in your main.js file
import { createApp } from 'vue';
import App from './App.vue';
import ImpsSekeletonLoader from 'imps-skeleton-loader';
const app = createApp(App);
// Install the plugin globally
app.use(ImpsSekeletonLoader);
app.mount('#app');
// use on vue components
<template>
<div>
<imps-skeleton-loader width="100px" height="100px" round="100px"/>
</div>
</template>