Importing individual directives
You can import individual directives into your project via the following named exports:
Directive | Named Export | Import Path |
---|---|---|
v-b-hover | VBHover | bootstrap-vue |
Example:
import { VBHover } from 'bootstrap-vue' // Note: Vue automatically prefixes the directive name with 'v-' Vue.directive('b-hover', VBHover)