@chenfengyuan/vue-number-input

Number input component for Vue.js.

Usage no npm install needed!

<script type="module">
  import chenfengyuanVueNumberInput from 'https://cdn.skypack.dev/@chenfengyuan/vue-number-input';
</script>

README

vue-number-input

Coverage Status Downloads Version Gzip Size

Number input component for Vue 3.

Main files

dist/
├── vue-number-input.js         (UMD, default)
├── vue-number-input.min.js     (UMD, compressed)
├── vue-number-input.esm.js     (ECMAScript Module)
└── vue-number-input.esm.min.js (ECMAScript Module, compressed)

Getting started

Installation

npm install vue@next @chenfengyuan/vue-number-input@next

In browser:

<script src="/path/to/vue.js"></script><!-- Vue.js is required -->
<script src="/path/to/vue-number-input.js"></script>

Usage

import { createApp } from 'vue';
import VueNumberInput from '@chenfengyuan/vue-number-input';

const app = createApp({});

app.component(VueNumberInput.name, VueNumberInput);
<vue-number-input controls></vue-number-input>

Browser support

Same as Vue 3.

Versioning

Maintained under the Semantic Versioning guidelines.

License

MIT © Chen Fengyuan