Quick Start
Installation
Vue 3
sh
pnpm i @oku-ui/motion
bash
npm i @oku-ui/motion
sh
yarn add @oku-ui/motion
Nuxt 3
- Install the module
sh
pnpm i @oku-ui/motion-nuxt
bash
npm i @oku-ui/motion-nuxt
sh
yarn add @oku-ui/motion-nuxt
- Add the module to
nuxt.config.ts
file
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>