A checkmark animation wrapped in a Vue component based on a codepen by Simon Wuyts.
-
Install with
npm install @crystal-creations/animated-checkmark
-
Add the following to your
nuxt.config.ts
.export default defineNuxtConfig({ app: { // ... modules: [ // ... "@crystal-creations/animated-checkmark/nuxt", ], }, });
-
Add the component to your Vue component.
<template> <AnimatedCheckmark></AnimatedCheckmark> </template>
-
Install with
npm install @crystal-creations/animated-checkmark
-
Add the following to your Vue
main.ts
.import { AnimatedCheckmark } from "@crystal-creations/animated-checkmark"; import "@crystal-creations/animated-checkmark/styles"; // ... const app = createApp(App) app.component("AnimatedCheckmark", AnimatedCheckmark);
-
Add the component to your Vue component.
<template> <AnimatedCheckmark></AnimatedCheckmark> </template>