A vite plugin for bundle lottie files.
npm install vite-plugin-lottieA vite plugin for bundle lottie files.
``bash`
pnpm install vite-plugin-lottie -D
vite.config.ts
`ts
import { defineConfig } from 'vite'
import { lottie } from 'vite-plugin-lottie'
export default defineConfig({
plugins: [
lottie()
],
})
`
app.vue
`vue`
dts
`ts``
///