Skip to content

dewfall123/ahooks-vue

Repository files navigation

ahooks-vue

Vue Hooks Library.

Most hooks implementation is original ported from ahooks.

Document

Features

  • Easy to learn and use.
  • Works for both Vue 3 and 2 ( thanks for 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
  2. Install dependencies
    yarn
    
  3. run demo
    yarn dev
    • If it's successful, you should see the following message:
    listening at http://localhost:3000
    

TODO

watchOnce