Custom directives

Register a directive

All directives that are mentioned here can be configured globally in the main.js file:

import { createApp } from 'vue';
import App from './App.vue';

const app = createApp(App)

// ... register directive

app.mount('#app');

Overview

NamespaceNameLink
/directives/vClip/vClip.jsvClip
/directives/vScroll/vScroll.jsvScroll
/directives/vRipple/vRipple.jsvRipple