File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,21 @@ Input field component to display a formatted currency value based on [Vue](https
15
15
16
16
## Installation
17
17
18
+ ### Install via CDN
19
+ ``` html
20
+ <script src =" https://unpkg.com/vue" ></script >
21
+ <script src =" https://unpkg.com/vue-numeric" ></script >
22
+
23
+ <script >
24
+ Vue .use (VueNumeric .default )
25
+ </script >
26
+ ```
27
+ ### Install via NPM
18
28
``` sh
19
29
$ npm install vue-numeric --save
20
30
```
21
31
22
- ### Install as Component
32
+ #### Register as Component
23
33
``` js
24
34
import Vue from ' vue'
25
35
import VueNumeric from ' vue-numeric'
@@ -33,24 +43,14 @@ export default {
33
43
}
34
44
```
35
45
36
- ### Install as Plugin
46
+ #### Register as Plugin
37
47
``` js
38
48
import Vue from ' vue'
39
49
import VueNumeric from ' vue-numeric'
40
50
41
51
Vue .use (VueNumeric)
42
52
```
43
53
44
- ### Install via CDN
45
- ``` html
46
- <script src =" https://unpkg.com/vue" ></script >
47
- <script src =" https://unpkg.com/vue-numeric" ></script >
48
-
49
- <script >
50
- Vue .use (VueNumeric .default )
51
- </script >
52
- ```
53
-
54
54
## Usage
55
55
56
56
![ screen shot 2016-12-08 at 2 19 31 pm] ( https://cloud.githubusercontent.com/assets/15880638/21001265/f2322438-bd51-11e6-8985-f31a45702484.png )
You can’t perform that action at this time.
0 commit comments