@chenfengyuan/vue-number-input
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

vue-number-input

Coverage Status Downloads Version Gzip Size

Number input component for Vue 3. For Vue 2, check out the v1 branch.

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)
└── vue-number-input.d.ts       (TypeScript Declaration File)

Getting started

Installation

Using npm:

npm install vue@3 @chenfengyuan/vue-number-input@2

Using pnpm:

pnpm add vue@3 @chenfengyuan/vue-number-input@2

Using Yarn:

yarn add vue@3 @chenfengyuan/vue-number-input@2

Using CDN:

<script src="https://unpkg.com/vue@3"></script><!-- Vue.js is required -->
<script src="https://unpkg.com/@chenfengyuan/vue-number-input@2"></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

Package Sidebar

Install

npm i @chenfengyuan/vue-number-input

Weekly Downloads

4,643

Version

2.0.1

License

MIT

Unpacked Size

46.6 kB

Total Files

8

Last publish

Collaborators

  • chenfengyuan