Skip to content

Commit ad7d42f

Browse files
committed
Expose the popup.
Thanks to @escofield, original PR: mariomka#146
1 parent 55d3ac4 commit ad7d42f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import Datetime from './Datetime.vue'
2+
import DatetimePopup from './DatetimePopup.vue'
23

34
function plugin (Vue) {
45
Vue.component('datetime', Datetime)
6+
Vue.component('datetime-popup', DatetimePopup)
57
}
68

79
// Install by default if using the script tag
@@ -15,5 +17,6 @@ const version = '__VERSION__'
1517
// Export all components too
1618
export {
1719
Datetime,
20+
DatetimePopup,
1821
version
1922
}

0 commit comments

Comments
 (0)