Skip to content

Commit e39a855

Browse files
jacobmllr95tmorehouse
authored andcommitted
fix(popover): Add directive to component plugin (#2115)
1 parent e5bb09e commit e39a855

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/components/popover/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import bPopover from './popover'
2+
import popoverPlugin from '../../directives/popover'
23
import { registerComponents, vueUse } from '../../utils/plugins'
34

45
const components = {
@@ -8,6 +9,7 @@ const components = {
89
const VuePlugin = {
910
install (Vue) {
1011
registerComponents(Vue, components)
12+
Vue.use(popoverPlugin)
1113
}
1214
}
1315

src/components/popover/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"meta": {
55
"title": "Popover",
66
"component": "bPopover",
7+
"directives": [
8+
"vBPopover"
9+
],
710
"events": [
811
{
912
"event": "show",

0 commit comments

Comments
 (0)