Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.52 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.52 KB

ahooks Vue realize.

Vue-hooks-plus

English | 简体中文

📚 Documentation

Docs Live

✨ Features

  • Easy to learn and use
  • Supports SSR
  • Contains a comprehensive collection of basic Hooks
  • A wide range of application scenarios
  • Written in TypeScript with predictable static types
  • Support the on-demand load, and reduce the packing volume

📦 Install

$ npm install --save vue-hooks-plus
# or
$ yarn add vue-hooks-plus

🔨 Usage

import { useRequest } from 'vue-hooks-plus'

// or Introduced on demand

import useRequest from 'vue-hooks-plus/es/useRequest'

🏃 Start the document

hooks Dir

npm run initial
npm run docs:dev

Note: You need to initialize before starting the document project. Due to the plug-ins, useAsyncOrder, useBoolean and useCookieState initialization will be open, so you need to manually go to the md file in the current folder to save it. The plug-in will listen for the save operation and will be repaired later.