diff --git a/packages/vue/README.md b/packages/vue/README.md index 2729363..68c3613 100644 --- a/packages/vue/README.md +++ b/packages/vue/README.md @@ -1,58 +1,191 @@ -# Vue Typescript Bundle Template +# Vue and Nuxt Motion One -![Vue Typescript Bundle Template](https://github.com/productdevbookcom/assets/blob/main/vue-ts-bundle-template.jpg?raw=true) +| Package | Version | Downloads | +|---------|---------|-----------| +| [Vue](https://www.npmjs.com/package/@oku-ui/motion) | [![npm](https://img.shields.io/npm/v/@oku-ui/motion?style=flat&colorA=002438&colorB=28CF8D)](https://www.npmjs.com/package/@oku-ui/motion) | [![npm](https://img.shields.io/npm/dm/@oku-ui/motion?flat&colorA=002438&colorB=28CF8D)](https://www.npmjs.com/package/@oku-ui/motion) | +| [Nuxt](https://www.npmjs.com/package/@oku-ui/motion-nuxt) | [![npm](https://img.shields.io/npm/v/@oku-ui/motion-nuxt?style=flat&colorA=002438&colorB=28CF8D)](https://www.npmjs.com/package/@oku-ui/motion-nuxt) | [![npm](https://img.shields.io/npm/dm/@oku-ui/motion-nuxt?flat&colorA=002438&colorB=28CF8D)](https://www.npmjs.com/package/@oku-ui/motion-nuxt) | -This is a template for creating a Typescript bundle. It is based on the [Typescript](https://www.typescriptlang.org/) compiler with the [Vite](https://vitejs.dev/) bundler. -## Features +**A tiny, performant animation library for VueJS. Powered by [Motion One](https://motion.dev/).** -- [x] [Typescript](https://www.typescriptlang.org/) -- [x] [Vite](https://vitejs.dev/) -- [x] [Vue](https://vuejs.org/) -- [x] [Vue Macros](https://github.com/sxzz/unplugin-vue-macros) -- [x] [ESLint](https://eslint.org/) with [Antfu's ESLint Config](https://github.com/antfu/eslint-config) -- [x] [Bumpp](https://github.com/antfu/bumpp) github changelog generator -- [x] [Vitest](https://vitest.dev/) -- [x] [Pnpm](https://pnpm.io/) -- [x] [GitHub Actions]() -- [x] [NPM Local Registry]() -- [x] [Renovate]() +## Introduction -## Usage +Motion One for Vue is a 5kb animation library for Vue 3. Built on Motion One, it's capable of springs, independent transforms, and hardware accelerated animations. -1. To use this template, click the "Use this template" button above. -2. Clone the repository to your local machine. -3. Run `pnpm install` to install the dependencies. -4. Run `pnpm build` to build the bundle. -5. Run `build:watch` to build the bundle in watch mode. -6. Run `pnpm play` to playground dev mode. -7. Run `pnpm start` to start the bundle. -8. Run `pnpm lint` to lint the code. (You can also run `pnpm lint:fix` to fix the linting errors.) -9. Run `pnpm test` to run the tests. (You can also run `pnpm test:watch` to run the tests in watch mode.) -10. Run `pnpm release` to bump the version. Terminal will ask you to select the version type. And then it will automatically commit and push the changes. GitHub Actions will automatically publish git tags. NPM local registry will automatically publish the package. +By the end of this quick guide, you'll have installed Motion One for Vue and created your first animation. -## Configuration +## Installation -### Renovate +Motion One for VueJS can be installed via npm: -[Setup Github App](https://github.com/apps/renovate) for Renovate. +```bash +npm install @oku-ui/motion +# or +pnpm add @oku-ui/motion +# or +yarn add @oku-ui/motion +``` -# Checklists +Motion One for NuxtJS can be installed via npm: -- Update the `README.md` file. -- Update the `LICENSE` file. -- Update the `package.json` file. (name,version, description, author, repository, bugs, homepage, funding, keywords) -- playground/src/App.vue - update package name `vue-bundle-template` -- playground/package.json - in change the package name `vue-bundle-template` +```bash +npm install @oku-ui/motion-nuxt +# or +pnpm add @oku-ui/motion-nuxt +# or +yarn add @oku-ui/motion-nuxt +``` -## Sponsors +## Create an animation -
- - - -
+Import the Motion component and register it in your Vue component: -## License +```ts + -This project is licensed under the [MIT License](LICENSE). + +