@marlonwiss/nuxt-directives
Version:
A Nuxt 3 module that automatically installs a collection of useful Vue 3 directives into your application.
65 lines (41 loc) • 1.43 kB
Markdown
# @marlonwiss/nuxt-directives
A Nuxt 3 module that automatically installs a collection of useful Vue 3 directives into your application.
Powered by [vue-directives](https://github.com/MarlonWiss2212/vue-directives/blob/main/packages/vue-directives/Readme.md) and designed for seamless integration with Nuxt.
## Installation
Install the module using your favorite package manager:
### Using **pnpm**
```bash
pnpm add @marlonwiss/nuxt-directives
```
### Using **yarn**
```bash
yarn add @marlonwiss/nuxt-directives
```
### Using **npm**
```bash
npm install @marlonwiss/nuxt-directives
```
## Setup
Add `@marlonwiss/nuxt-directives` to your `nuxt.config.ts`:
```ts
export default defineNuxtConfig({
modules: [
'@marlonwiss/nuxt-directives'
]
})
```
That's it! All custom directives are now globally available in your project.
## 📚 Usage / Directives Documentation
See the full list of available directives [here](https://github.com/MarlonWiss2212/vue-directives/blob/main/Directives.md).
## 📚 Changelog
See the full changelog [here](https://github.com/MarlonWiss2212/vue-directives/blob/main/packages/nuxt-directives/CHANGELOG.md).
## 📚 Monorepo Documentation
See the documentation of the monorepo [here](https://github.com/MarlonWiss2212/vue-directives/blob/main/Readme.md).
## License
[MIT License](https://github.com/MarlonWiss2212/vue-directives/blob/main/LICENSE)