Sleep

Composable parts for making dynamic web content like Facebook in Vue.js

.vue-content-placeholders.Vue.js plugin for making bogus material (Facebook like). It could be valuable as a placeholder while web content is actually loading or data fetching to offer better UX as well as reduced bounce cost.You can easily utilize it as some other element (plugin) for Vue projects. As an example:.Consumption.Installment.* via npm: 'npm put up vue-content-placeholders-- save'.* using yarn: 'anecdote add vue-content-placeholders'.Feature the plugin in your main.js data.bring in Vue from 'vue'.import VueContentPlaceholders from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css report is consisted of when importing the bundle. You might have to setup your bundler to install the css in your webpage.In your templates:.content-placeholders is actually the primary part and within 3 sorts of material may exist.
For available residential or commercial properties check out even more below.
Outcome:.
Result:.Accessible parts as well as homes.root.Boolean cartoon (default: correct).Boolean pivoted (default: false) - border distance.Boolean based (default: untrue).These homes describe how all youngsters components will behave.
Boolean img (default: incorrect).
Number lines (default: 4).That's it essentially! This open resource task is under an MIT license.

Articles You Can Be Interested In