Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dewfall123/ahooks-vue
- Owner: dewfall123
- Created: 2020-03-05T06:53:19.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T10:53:05.000Z (almost 2 years ago)
- Last Synced: 2024-12-17T11:06:43.598Z (10 days ago)
- Topics: ahooks, hooks, utility-library, vue, vue-hooks, vue-hooks-library, vue-next
- Language: TypeScript
- Homepage: https://dewfall123.github.io/ahooks-vue/
- Size: 6.11 MB
- Stars: 128
- Watchers: 5
- Forks: 29
- Open Issues: 10
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
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