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+
15# [ 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)
26
37
Original file line number Diff line number Diff line change 11# vue-number-input
22
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 )
44
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.
66
77- [ Docs] ( src/README.md )
88- [ Demo] ( https://fengyuanchen.github.io/vue-number-input )
@@ -22,15 +22,29 @@ dist/
2222
2323### Installation
2424
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+
2539``` shell
26- npm install vue@next @chenfengyuan/vue-number-input@next
40+ yarn add vue@3 @chenfengyuan/vue-number-input@2
2741```
2842
29- In browser :
43+ Using CDN :
3044
3145``` 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 >
3448```
3549
3650### Usage
Original file line number Diff line number Diff line change 7373 </div >
7474 </div >
7575 </div >
76- <div class =" container" >
76+ <div class =" container pt-4 " >
7777 <div class =" markdown-body" >
7878 <Readme />
7979 </div >
@@ -145,6 +145,7 @@ export default defineComponent({
145145.markdown-body {
146146 table {
147147 display : table ;
148+ width : 100% ;
148149 }
149150
150151 code {
Original file line number Diff line number Diff line change 88 < meta name ="description " content ="Number input component for Vue.js. ">
99 < meta name ="author " content ="Chen Fengyuan ">
1010 < 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 ">
1212 < link rel ="stylesheet " href ="https://unpkg.com/@highlightjs/cdn-assets@11/styles/github.min.css " crossorigin ="anonymous ">
1313 </ head >
1414 < body >
You can’t perform that action at this time.
0 commit comments