UNPKG

@marlonwiss/vue-directives

Version:

A lightweight Vue 3 plugin providing a collection of custom directives to enhance your development experience.

70 lines (43 loc) 1.58 kB
# @marlonwiss/vue-directives A lightweight Vue 3 plugin providing a collection of custom directives to enhance your development experience. Designed to work seamlessly in standard Vue 3 applications. --- ## Installation Install the package using your favorite package manager: ### Using **pnpm** ```bash pnpm add @marlonwiss/vue-directives ``` ### Using **yarn** ```bash yarn add @marlonwiss/vue-directives ``` ### Using **npm** ```bash npm install @marlonwiss/vue-directives ``` --- ## Setup Import and install the plugin in your Vue app: ```ts // main.ts import { createApp } from 'vue' import App from './App.vue' import { marlonWissVueDirectivesPlugin } from '@marlonwiss/vue-directives' const app = createApp(App) app.use(marlonWissVueDirectivesPlugin) app.mount('#app') ``` > **Note:** Only use this method for **Vue** projects. For **Nuxt 3**, use [`@marlonwiss/nuxt-directives`](https://github.com/MarlonWiss2212/vue-directives/blob/main/packages/nuxt-directives/Readme.md) instead. --- ## 📚 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/vue-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)