Sleep

Composable parts for making modern content like Facebook in Vue.js

.vue-content-placeholders.Vue.js plugin for leaving artificial information (Facebook like). It could be beneficial as a placeholder while web content is loading or information getting to offer far better UX and lower bounce fee.You can use it as every other element (plugin) for Vue ventures. For instance:.Utilization.Setup.* through npm: 'npm put up vue-content-placeholders-- spare'.* by means of anecdote: 'anecdote include vue-content-placeholders'.Feature the plugin in your main.js report.bring in Vue from 'vue'.bring in VueContentPlaceholders from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css file is actually consisted of when importing the deal. You might must configuration your bundler to embed the css in your webpage.In your design templates:.content-placeholders is the principal element and within 3 forms of material may exist.
For available residential or commercial properties look further listed below.
Outcome:.
Outcome:.Readily available components and residential properties.origin.Boolean animated (default: real).Boolean rounded (nonpayment: misleading) - boundary distance.Boolean centered (nonpayment: incorrect).These properties determine how all children components will definitely function.
Boolean img (nonpayment: false).
Number product lines (default: 4).That's it essentially! This available resource project is under an MIT permit.