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
1515
1616## Installation
1717
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
1828``` sh
1929$ npm install vue-numeric --save
2030```
2131
22- ### Install as Component
32+ #### Register as Component
2333``` js
2434import Vue from ' vue'
2535import VueNumeric from ' vue-numeric'
@@ -33,24 +43,14 @@ export default {
3343}
3444```
3545
36- ### Install as Plugin
46+ #### Register as Plugin
3747``` js
3848import Vue from ' vue'
3949import VueNumeric from ' vue-numeric'
4050
4151Vue .use (VueNumeric)
4252```
4353
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-
5454## Usage
5555
5656![ 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