ahooks-vue

ahooks-vue

Usage no npm install needed!

<script type="module">
  import ahooksVue from 'https://cdn.skypack.dev/ahooks-vue';
</script>

README

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