https://github.com/ehsan-shv/vb-input
Vue3 and Nuxt3 reusable input component.
https://github.com/ehsan-shv/vb-input
input nuxt3 typescript vue vuejs
Last synced: about 1 month ago
JSON representation
Vue3 and Nuxt3 reusable input component.
- Host: GitHub
- URL: https://github.com/ehsan-shv/vb-input
- Owner: ehsan-shv
- Created: 2022-02-15T13:22:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-12T15:34:50.000Z (about 4 years ago)
- Last Synced: 2025-03-22T19:01:47.087Z (about 1 year ago)
- Topics: input, nuxt3, typescript, vue, vuejs
- Language: Vue
- Homepage: https://ehsan-shv.github.io/vb-input-docs/
- Size: 616 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vb-input
**Vue 3 input component.**
> Support Vue3 and Nuxt3 and type-safe. [Demo](https://ehsan-shv.github.io/vb-input/)
## Documentation
Check out docs at [docs](https://ehsan-shv.github.io/vb-input-docs/).
## Types
- text
- number
- password
- tel
- email
- search
- textarea
## Installation
```bash
npm i vb-input
```
## Import to component
```vue
import { defineComponent, ref } from 'vue';
import VBInput from 'vb-input';
export default defineComponent({
components: {
VBInput,
},
setup() {
const name = ref('');
return { name };
},
});
```