vue-render-on-scroll
vue-render-on-scroll
- A Vue component that allows you to lazy-load components as they appear on screen. Great for passing google speed tests. It basicly adds v-if="false"
to the content of the component as long as it did not yet apear on your screan.
install
npm i vue-render-on-scroll
or
yarn add vue-render-on-scroll
Usage
This content will be loaded only when it enters viewport
js global
js local