NelsonYong / vue-hooks-plus

Hook function based on Vue3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm package build status language gzip librariesio LICENSE

VueHooks Plus

English | 简体中文

High performance & Simplicity Vue3 Hooks library

✨ Features

  • 🏄🏼‍♂️ Easy to learn and use
  • 🔋 Supports SSR
  • 🛸 Contains a comprehensive collection of basic Hooks
  • 🏟️ A wide range of application scenarios
  • 🦾 Preferred useRequest, Powerful request middle tier
  • 🎪 Interactive demo, immersive
  • 🎯 Written in TypeScript with predictable static types
  • 🪄 Support the on-demand load, and reduce the packing volume
  • 🤺 Playground, there's ample scope for one's abilities
  • 🔐 Perfect test, safe and reliable

📦 Install

npm i vue-hooks-plus

CDN

<script src="https://cdn.jsdelivr.net/npm/vue-hooks-plus/dist/js/index.iife.js"></script>

It will be exposed to global as VueHooks_Plus

🤹‍♀️ Usage

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

// or Introduced on demand
import useRequest from 'vue-hooks-plus/es/useRequest'

Globalization Documentations

🕹️ Dev the document

<!-- need run initial -->

npm run docs:dev

🪴 Project Activity

Alt

🌸 Thanks

This project is heavily inspired by the following awesome projects.

📄 License

MIT License © 2022-PRESENT Yong Git

About

Hook function based on Vue3

License:MIT License


Languages

Language:TypeScript 76.5%Language:Vue 21.8%Language:JavaScript 1.2%Language:Less 0.4%Language:Shell 0.1%