📚 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'
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.