nuxt-rive v1.0.8
Nuxt-Rive
Integrate Rive into your Nuxt application.
This library allows full control over Rive files with a high-level API for hooking up many simple interactions and animations, as well as a low-level API that allows you to drive your own render loop to create multiple artboards, animations, and state machines all in one canvas.
⨠Release Notes ā¶ļø Online playground š Documentation
Features
- š¦ Extendable by Nuxt modules
- š Supports Nuxt 3 / Rive
Rive Overview
Rive is a real-time interactive design and animation tool that helps teams create and run interactive animations anywhere. Designers and developers use our collaborative editor to create motion graphics that respond to different states and user inputs. Our lightweight open-source runtime libraries allow them to load their animations into apps, games, and websites.
š” Homepage
š General help docs
š Learning Rive
Quick Setup
- Add
nuxt-rivedependency to your project
# Using pnpm
pnpm add -D nuxt-rive
# Using yarn
yarn add --dev nuxt-rive
# Using npm
npm install --save-dev nuxt-rive- Add
nuxt-riveto themodulessection ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'nuxt-rive'
]
})That's it! You can now use Nuxt-Rive in your Nuxt app āØ
Contributing
- Install dependencies with
pnpm. - Run
pnpm dev:prepareto generate stubbeddistdirectory. - Make your changes.
- Run
pnpm lintto verify that there is no issues (consider adding tests). - Submit a PR.
License
This repository is licensed under the MIT License. Feel free to use the code and modify it according to your needs.
