Skip to content

Latest commit

 

History

History
92 lines (65 loc) · 2.16 KB

README.md

File metadata and controls

92 lines (65 loc) · 2.16 KB

CountUp.js

npm version npm downloads License Nuxt

Nuxt 3 module for countup.js - A dependency-free, lightweight JavaScript class that can be used to quickly create animations that display numerical data in a more interesting way.

Features

  • To be updated

Quick Setup

  1. Add nuxt-countup dependency to your project
# Using pnpm
pnpm add -D nuxt-countup

# Using yarn
yarn add --dev nuxt-countup

# Using npm
npm install --save-dev nuxt-countup
  1. Add nuxt-countup to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    'nuxt-countup'
  ]
})

That's it! You can now use CountUp.js in your Nuxt app ✨

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release