lottie-web-vue3
Version:
基于 lottie-web-vue 组件进行拓展版本升级等
20 lines (15 loc) • 676 B
Markdown
<div style="text-align: center" align="center">
<h1>Lottie-Web-Vue3</h1>
<img src="lottie-web-vue-animation.gif" style="width: 50%"/>
</div>
***
# 介绍
当设计师提供的 AE JSON 数据包含图片时,使用 Lottie-web-vue 插件, 会出现一些问题图片无法渲染,渲染位置出错等问题。 主要原因是Lottie-web-vue 插件仅对渲染方式`renderer:‘svg’`模式进行封装,因此基于 lottie-web-vue 插件进行拓展。具体问题见下方地址:https://blog.csdn.net/m0_37437840/article/details/148850276?spm=1001.2014.3001.5502
# 安装插件
```js
npm install --save lottie-web-vue3
```
or
```
yarn add lottie-web-vue3
```