Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dewfall123/ahooks-vue

πŸ› οΈ Vue hooks library.
https://github.com/dewfall123/ahooks-vue

ahooks hooks utility-library vue vue-hooks vue-hooks-library vue-next

Last synced: 3 days ago
JSON representation

πŸ› οΈ Vue hooks library.

Awesome Lists containing this project

README

        

# 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