Lazy Hydration for Vue SSR
npm install lazy-hydration



Lazy hydration for Vue SSR.
> NOTE: This project uses @znck/prop-types which generates tree shakeable component prop definitions but it requires process.env.NODE_ENV to replaced with "production" to work effectively. See @znck/prop-types's documentation to know more.
``shell`
npm install --save lazy-hydration
`js
import Hydrate from 'lazy-hydration';
export default {
...
components: { Hydrate }
...
}
`
Examples of using Hydrate in a Vue component, which also
documents the different options provided:
` html`
...
...
...
...
...
...
...
...
...
Programmatic approach:
` html
...
``
> NOTE: Consider BETA until v1.0 release.
- vue-lazy-hydration by Markus Oberlehner
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
lazy-hydration © Rahul Kadyan, Released under the MIT License.
Authored and maintained by Rahul Kadyan with help from contributors (list).
> znck.me · GitHub @Rahul Kadyan · Twitter @znck0