Sleep

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

.vue-content-placeholders.Vue.js plugin for making fake web content (Facebook like). It could be beneficial as a placeholder while material is actually packing or even data bring to deliver much better UX and also lower bounce price.You can easily use it as some other element (plugin) for Vue projects. For instance:.Use.Setup.* by means of npm: 'npm set up vue-content-placeholders-- save'.* using yarn: 'yarn add vue-content-placeholders'.Consist of the plugin in your main.js documents.import Vue from 'vue'.import VueContentPlaceholders from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css data is actually consisted of when importing the package. You might must configuration your bundler to install the css in your webpage.In your design templates:.content-placeholders is actually the principal element and also within 3 forms of web content can easily exist.
For offered residential properties look even further listed below.
End result:.
End result:.Accessible components and also homes.root.Boolean animated (nonpayment: real).Boolean pivoted (nonpayment: misleading) - perimeter radius.Boolean centered (default: incorrect).These residential properties specify how all youngsters components will definitely act.
Boolean img (default: false).
Amount series (nonpayment: 4).That's it basically! This open resource task is actually under an MIT license.