An open API service indexing awesome lists of open source software.

https://github.com/betterwrite/vue-providers

A simple collection of general-purpose directives for Vue 2/3.
https://github.com/betterwrite/vue-providers

directives vue vueuse

Last synced: about 1 month ago
JSON representation

A simple collection of general-purpose directives for Vue 2/3.

Awesome Lists containing this project

README

          

# Vue Providers

A simple collection of general-purpose directives for Vue 2/3. Powered by [VueUse](https://vueuse.org/)

## Install

`yarn add vue-directive-providers`

## Use

in `src/main.(js|ts)`

```js
import { createApp } from "vue";
import { ProviderPlugin } from "vue-directive-providers";
import App from "./App.vue";

const app = createApp(App);
//...
app.use(ProviderPlugin);
//...
app.mount("#app");
```

## Directives

- `v-provider-arrows`
- `v-provider-close`
- `v-provider-focus`
- `v-provider-hover`
- `v-provider-outside`
- `v-provider-pressed`


### v-provider-arrows

```html

```

### v-provider-close

```html


```

### v-provider-focus

```html

```

### v-provider-hover

```html


```

### v-provider-outside

```html


```

### v-provider-pressed

```html


```