Sleep

Composable elements for rendering modern web content like Facebook in Vue.js

.vue-content-placeholders.Vue.js plugin for leaving bogus information (Facebook like). It could be helpful as a placeholder while web content is packing or even records getting to provide better UX and lesser bounce rate.You can easily utilize it as every other component (plugin) for Vue jobs. As an example:.Usage.Installment.* via npm: 'npm put in vue-content-placeholders-- save'.* using yarn: 'yarn add vue-content-placeholders'.Include the plugin in your main.js data.bring in Vue coming from 'vue'.import VueContentPlaceholders coming from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css documents is actually consisted of when importing the deal. You might have to arrangement your bundler to embed the css in your webpage.In your themes:.content-placeholders is actually the main component as well as within 3 kinds of material may exist.
For on call buildings have a look even further below.
Result:.
Result:.On call parts and residential or commercial properties.origin.Boolean animated (default: true).Boolean rounded (nonpayment: untrue) - boundary distance.Boolean centered (default: incorrect).These residential or commercial properties define how all little ones components will definitely function.
Boolean img (nonpayment: untrue).
Variety collections (default: 4).That's it essentially! This available resource job is under an MIT license.