@zqhexor/vueuse
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

@zqhexor/vueuse - vueuse 工具库

This is a collection of utility functions based on Composition API.

🍭 Support Vue 2 & Vue 3

💪 Written in TypeScript

🎪 Interactive docs & demos

Table of Contents

Background

This is a collection of utility functions based on Composition API.

Design

Getting Started

Prerequisites

Install

Use npm:

npm install @zqhexor/vueuse --save

Use yarn:

yarn add @zqhexor/vueuse --save

Usage

import { CHECKER_TYPE, useChecker } from '@zqhexor/vueuse';
const { checked, options, isActive, check } = useChecker({ type: CHECKER_TYPE.RADIO })
options.value = [{ value: 1, label: '选项1' }, { value: 2, label: '选项2' }]

For more examples, please refer to the 👉Documentation👈

Package Sidebar

Install

npm i @zqhexor/vueuse

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

22.6 kB

Total Files

17

Last publish

Collaborators

  • zqhexor