Quick Start
Installation
Vue 3
sh
pnpm i @oku-ui/motionbash
npm i @oku-ui/motionsh
yarn add @oku-ui/motionNuxt 3
- Install the module
sh
pnpm i @oku-ui/motion-nuxtbash
npm i @oku-ui/motion-nuxtsh
yarn add @oku-ui/motion-nuxt- Add the module to
nuxt.config.tsfile
ts
export default defineNuxtConfig({
modules: [
'@oku-ui/motion-nuxt',
],
motion: {
// Motion One options
},
})TIP
{icon="i-ph-check-circle-duotone"} Well done! You have successfully installed Motion One.
Importing
Once installed, you can import Oku Motion via @oku-ui/motion.
vue
<script setup lang="ts">
import { Motion } from "@oku-ui/motion"
</script>
<template>
<Motion />
</template>