Skip to content

inhiblab/vue-hooks-plus

 
 

Repository files navigation

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.

About

Hook function based on Vue3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 58.6%
  • Vue 37.5%
  • JavaScript 2.6%
  • Less 1.1%
  • Shell 0.2%