LottieFiles animations, in Vue!
npm install lottie-player-vueIt is published on npm at: https://www.npmjs.com/package/lottie-player-vue

Install lottie-player-vue:
``bash`
npm install --save lottie-player-vue
Include in it either globally (in main.js) or a Vue component.`
_Global_:js
// main.js
// ...
import LottiePlayer from 'lottie-player-vue';
Vue.use(LottiePlayer);
// ...
``
_Component_:js
// MyComponent.vue
// ...
import LottiePlayer from 'lottie-player-vue';
export default {
components: {
LottiePlayer
},
// ...
`
And then add it to your template:
`html`
| _documented below_ / https://www.npmjs.com/package/@lottiefiles/lottie-player#properties |The options object matches the properties found in the offical lottiefiles documentation exactly with the addition that we also support the
width and height keys. These will be mapped directly to the width and height properties of the animation HTML element.e.g.
`js
// options
{
autoplay: true,
speed: 2.5,
width: '100px'
}
``