ahooks-vue
Version:
49 lines (35 loc) • 846 B
Markdown
# ahooks-vue
Vue Hooks Library.
Most hooks implementation is original ported from [ahooks](https://ahooks.js.org/docs).
## Document
- [中文](https://dewfall123.github.io/ahooks-vue/zh/)
- [English](https://dewfall123.github.io/ahooks-vue/)
## Features
- Easy to learn and use.
- Works for both Vue 3 and 2 ( thanks for [vue-demi](https://github.com/antfu/vue-demi) ).
- Written in TypeScript with predictable static types.
## Install
```
yarn add ahooks-vue
```
## Usage
```
import { useWorkerFunction } from 'ahooks-vue';
```
## Contributing
### Setup ahooks-vue dev environment
1. Clone the ahooks-vue repo
1. Install dependencies
```
yarn
```
1. run demo
```bash
yarn dev
```
- If it's successful, you should see the following message:
```
listening at http://localhost:3000
```
### TODO
watchOnce