File tree Expand file tree Collapse file tree 6 files changed +1572
-2074
lines changed Expand file tree Collapse file tree 6 files changed +1572
-2074
lines changed Original file line number Diff line number Diff line change
1
+ # [ 2.0.0] ( https://github.com/fengyuanchen/vue-number-input/compare/v2.0.0-rc.2...v2.0.0 ) (2022-02-07)
2
+
3
+
4
+
1
5
# [ 2.0.0-rc.2] ( https://github.com/fengyuanchen/vue-number-input/compare/v2.0.0-rc.1...v2.0.0-rc.2 ) (2022-01-22)
2
6
3
7
Original file line number Diff line number Diff line change 1
1
# vue-number-input
2
2
3
- [ ![ Coverage Status] ( https://img.shields.io/codecov/c/github/fengyuanchen/vue-number-input.svg )] ( https://codecov.io/gh/fengyuanchen/vue-number-input ) [ ![ Downloads] ( https://img.shields.io/npm/dm/@chenfengyuan/vue-number-input.svg )] ( https://www.npmjs.com/package/@chenfengyuan/vue-number-input ) [ ![ Version] ( https://img.shields.io/npm/v/@chenfengyuan/vue-number-input/next .svg )] ( https://www.npmjs.com/package/@chenfengyuan/vue-number-input ) [ ![ Gzip Size] ( https://img.shields.io/bundlephobia/minzip/@chenfengyuan/vue-number-input.svg )] ( https://unpkg.com/@chenfengyuan/vue-number-input/dist/vue-number-input.js )
3
+ [ ![ Coverage Status] ( https://img.shields.io/codecov/c/github/fengyuanchen/vue-number-input.svg )] ( https://codecov.io/gh/fengyuanchen/vue-number-input ) [ ![ Downloads] ( https://img.shields.io/npm/dm/@chenfengyuan/vue-number-input.svg )] ( https://www.npmjs.com/package/@chenfengyuan/vue-number-input ) [ ![ Version] ( https://img.shields.io/npm/v/@chenfengyuan/vue-number-input.svg )] ( https://www.npmjs.com/package/@chenfengyuan/vue-number-input ) [ ![ Gzip Size] ( https://img.shields.io/bundlephobia/minzip/@chenfengyuan/vue-number-input.svg )] ( https://unpkg.com/@chenfengyuan/vue-number-input/dist/vue-number-input.js )
4
4
5
- > Number input component for Vue 3.
5
+ > Number input component for Vue 3. For Vue 2, check out the [ ` v1 ` ] ( https://github.com/fengyuanchen/vue-number-input/tree/v1 ) branch.
6
6
7
7
- [ Docs] ( src/README.md )
8
8
- [ Demo] ( https://fengyuanchen.github.io/vue-number-input )
@@ -22,15 +22,29 @@ dist/
22
22
23
23
### Installation
24
24
25
+ Using npm:
26
+
27
+ ``` shell
28
+ npm install vue@3 @chenfengyuan/vue-number-input@2
29
+ ```
30
+
31
+ Using pnpm:
32
+
33
+ ``` shell
34
+ pnpm add vue@3 @chenfengyuan/vue-number-input@2
35
+ ```
36
+
37
+ Using Yarn:
38
+
25
39
``` shell
26
- npm install vue@next @chenfengyuan/vue-number-input@next
40
+ yarn add vue@3 @chenfengyuan/vue-number-input@2
27
41
```
28
42
29
- In browser :
43
+ Using CDN :
30
44
31
45
``` html
32
- <script src =" /path/to /vue.js " ></script ><!-- Vue.js is required -->
33
- <script src =" /path/to/ vue-number-input.js " ></script >
46
+ <script src =" https://unpkg.com /vue@3 " ></script ><!-- Vue.js is required -->
47
+ <script src =" https://unpkg.com/@chenfengyuan/ vue-number-input@2 " ></script >
34
48
```
35
49
36
50
### Usage
Original file line number Diff line number Diff line change 73
73
</div >
74
74
</div >
75
75
</div >
76
- <div class =" container" >
76
+ <div class =" container pt-4 " >
77
77
<div class =" markdown-body" >
78
78
<Readme />
79
79
</div >
@@ -145,6 +145,7 @@ export default defineComponent({
145
145
.markdown-body {
146
146
table {
147
147
display : table ;
148
+ width : 100% ;
148
149
}
149
150
150
151
code {
Original file line number Diff line number Diff line change 8
8
< meta name ="description " content ="Number input component for Vue.js. ">
9
9
< meta name ="author " content ="Chen Fengyuan ">
10
10
< link href ="https://unpkg.com/bootstrap@5/dist/css/bootstrap.min.css " rel ="stylesheet " crossorigin ="anonymous ">
11
- < link rel ="stylesheet " href ="https://unpkg.com/github-markdown-css@4 /github-markdown.css " crossorigin ="anonymous ">
11
+ < link rel ="stylesheet " href ="https://unpkg.com/github-markdown-css@5 /github-markdown.css " crossorigin ="anonymous ">
12
12
< link rel ="stylesheet " href ="https://unpkg.com/@highlightjs/cdn-assets@11/styles/github.min.css " crossorigin ="anonymous ">
13
13
</ head >
14
14
< body >
You can’t perform that action at this time.
0 commit comments