Sleep

Composable components for leaving progressive web content like Facebook in Vue.js

.vue-content-placeholders.Vue.js plugin for providing fake information (Facebook like). It can be useful as a placeholder while material is packing or information fetching to provide much better UX as well as lower bounce fee.You can easily use it as every other element (plugin) for Vue projects. For example:.Consumption.Setup.* through npm: 'npm set up vue-content-placeholders-- conserve'.* using anecdote: 'yarn add vue-content-placeholders'.Consist of the plugin in your main.js report.bring in Vue from 'vue'.import VueContentPlaceholders coming from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css documents is included when importing the plan. You might need to system your bundler to install the css in your webpage.In your themes:.content-placeholders is actually the primary part and also within 3 forms of information can easily exist.
For offered properties take a look further below.
Outcome:.
Outcome:.Available parts and also properties.root.Boolean cartoon (default: true).Boolean pivoted (nonpayment: untrue) - boundary radius.Boolean focused (nonpayment: untrue).These residential properties specify how all kids elements will behave.
Boolean img (default: inaccurate).
Variety lines (default: 4).That's it basically! This available source venture is under an MIT permit.