nuxt-countup
v0.1.2
Published
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.
Downloads
16
Maintainers
Readme
CountUp.js
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
- 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
- Add
nuxt-countup
to themodules
section ofnuxt.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