Skip to content

Commit c08f734

Browse files
author
Dipak Sarkar
committed
added number formatter
1 parent 9a18c45 commit c08f734

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/index.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
import component from './component.vue'
2-
import directive from './directive'
3-
import options from './options'
1+
import Number from './component.vue'
2+
import VNumber from './directive'
3+
import Options from './options'
4+
import NumberFormat from './number-format'
45

56
export {
6-
component,
7-
directive,
8-
options
7+
Number,
8+
VNumber,
9+
Options,
10+
NumberFormat
911
}
1012

1113
export default {
1214
install(app, config) {
1315
if (config) {
14-
Object.assign(options, config)
16+
Object.assign(Options, config)
1517
}
1618
app.directive('number', directive)
1719
app.component('number', component)

0 commit comments

Comments
 (0)