Getting Started
Introduction
dotLottie-vue is a Vue component that allows you to easily embed Lottie animations in your Vue applications. It is a wrapper around the dotLottie-web library.
Installation
npm install @lottiefiles/dotlottie-vue
Basic Usage
<script setup>import { DotLottieVue } from '@lottiefiles/dotlottie-vue'</script>
<template> <DotLottieVue style="height: 500px; width: 500px" autoplay loop src="https://path-to-lottie.lottie" /></template>