Skip to content

Commit d83103f

Browse files
author
Dipak Sarkar
committed
updated guide
1 parent 6ee0364 commit d83103f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ yarn add @coders-tm/vue-number-format
1212
```
1313
## Vue 2.0
1414
```bash
15-
npm install @coders-tm/vue-number-format@2.0.4
15+
npm install @coders-tm/vue-number-format@2.0.7
1616
or
17-
yarn add @coders-tm/vue-number-format@2.0.4
17+
yarn add @coders-tm/vue-number-format@2.0.7
1818
```
1919
## Features
2020

docs/guide/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Introduction
22
Vue Number Format is used to format a number using fixed-point notation. It can be used to format a number with a specific number of digits to the right of the decimal.
33
## Installation
4-
Install the npm package: @coders-tm/vue-number-format@2.0.4 for Vue 2.0
4+
Install the npm package: @coders-tm/vue-number-format@2.0.7 for Vue 2.0
55

66
```bash
77
npm install @coders-tm/vue-number-format

src/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import Number from './component.vue'
22
import VNumber from './directive'
3-
import options from './options'
3+
import Options from './options'
44
import NumberFormat from './number-format'
55

66
export {
7-
NumberFormat,
87
Number,
98
VNumber,
10-
options
9+
Options,
10+
NumberFormat
1111
}
1212

1313
function install(Vue, globalOptions) {
1414
if (globalOptions) {
15-
Object.assign(options, globalOptions)
15+
Object.assign(Options, globalOptions)
1616
}
1717
Vue.directive('number', VNumber)
1818
Vue.component('number', Number)

0 commit comments

Comments
 (0)