chenqingspring / vue-lottie

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

Vue-lottie wont run with npm run watch #52

Open Ddvos opened 4 years ago

Ddvos commented 4 years ago

Hello,

Vue-lottie will not run with npm run watch. I won't get any erros, the only thing I see is that the SVG isn't compiled in my Vue app. When I use npm run build and host my application via a live server or the serve -s dist command only then will the SVG work. Is it possible that Vue-lottie will compile the SVG with npm run watch?

That would save a lot of time during app development

Thanks!

-Dominique

huxaiphaer commented 2 years ago

Any solution for this @Ddvos ?