Sleep

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

.vue-content-placeholders.Vue.js plugin for providing fake content (Facebook like). It can be valuable as a placeholder while web content is actually filling or even data bring to give far better UX and lower bounce price.You can easily use it as any other part (plugin) for Vue jobs. For example:.Consumption.Installation.* via npm: 'npm put up vue-content-placeholders-- save'.* through anecdote: 'anecdote add vue-content-placeholders'.Include the plugin in your main.js documents.bring in Vue coming from 'vue'.bring in VueContentPlaceholders from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css file is included when importing the bundle. You may must configuration your bundler to embed the css in your web page.In your themes:.content-placeholders is the main element and within 3 kinds of information can easily exist.
For readily available properties check out even further below.
Outcome:.
Result:.Offered parts as well as buildings.origin.Boolean cartoon (nonpayment: true).Boolean rounded (default: false) - border distance.Boolean centered (nonpayment: false).These residential or commercial properties describe how all children parts will act.
Boolean img (nonpayment: incorrect).
Number series (default: 4).That's it basically! This available resource venture is under an MIT certificate.

Articles You Can Be Interested In