chenqingspring / vue-lottie

Render After Effects animations on Vue based on Bodymovin
MIT License
1.31k stars 281 forks source link

Update readme to reflect proper usage #19

Open kait-lyn opened 5 years ago

kait-lyn commented 5 years ago

Readme for usage should read

import lottie from 'vue-lottie';
  import * as animationData from './assets/pinjump.json';

  export default {
    name: 'app',
    components: {
      lottie
    },
josteph commented 5 years ago

@kait-lyn Thank you! Was looking for this.

rgbskills commented 5 years ago

Thank you :*