Sleep

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

.vue-content-placeholders.Vue.js plugin for providing fake content (Facebook like). It could be useful as a placeholder while information is loading or even records bring to offer much better UX and lower bounce price.You can utilize it as every other component (plugin) for Vue jobs. For instance:.Usage.Setup.* using npm: 'npm mount vue-content-placeholders-- conserve'.* through yarn: 'anecdote include vue-content-placeholders'.Feature the plugin in your main.js file.import Vue coming from 'vue'.import VueContentPlaceholders from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css documents is featured when importing the deal. You may must arrangement your bundler to install the css in your webpage.In your layouts:.content-placeholders is actually the major part and also within 3 sorts of content can easily exist.
For on call residential properties look even more below.
Outcome:.
Result:.Readily available parts and also properties.root.Boolean animated (default: true).Boolean pivoted (default: untrue) - border distance.Boolean based (nonpayment: incorrect).These residential or commercial properties specify just how all kids components will certainly function.
Boolean img (nonpayment: untrue).
Variety lines (nonpayment: 4).That's it essentially! This available source project is actually under an MIT license.

Articles You Can Be Interested In