High performance & Simplicity 🧲 Vue 3 Hooks library
See the code[!IMPORTANT] Developing, building, and running the documentation for this repository now require Node.js >= 22.18.0. The published hooks still target Vue 3 applications and do not add a Node.js runtime requirement in the browser.
npm i vue-hooks-plus
<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
import { useRequest } from 'vue-hooks-plus'
Introduced on demand
import useRequest from 'vue-hooks-plus/es/useRequest'
Auto Import
import AutoImport from 'unplugin-auto-import/vite'
import { VueHooksPlusResolver } from '@vue-hooks-plus/resolvers'
export const AutoImportDeps = () =>
AutoImport({
imports: ['vue', 'vue-router'],
include: [/\.[tj]sx?$/, /\.vue$/, /\.vue\?vue/, /\.md$/],
dts: 'src/auto-imports.d.ts',
resolvers: [VueHooksPlusResolver()],
})
const { VueHooksPlusResolver } = require('@vue-hooks-plus/resolvers')
module.exports = {
/* ... */
plugins: [
require('unplugin-auto-import/webpack')({
imports: ['vue', 'vue-router'],
include: [/\.[tj]sx?$/, /\.vue$/, /\.vue\?vue/, /\.md$/],
dts: 'src/auto-imports.d.ts',
resolvers: [VueHooksPlusResolver()],
}),
],
}
For other supported tools, please see unplugin-auto-import
Welcome to join us! You can check out the Contributing Guide to learn how to get started.
Thanks for all their contributions 🐝 !
This project is heavily inspired by the following awesome projects.
MIT License © 2022-PRESENT YongGit
488 followers · starred Apr 2025
13 followers · starred May 2025
13 followers · starred Feb 2023
113 followers · starred Jan 2023
High performance & Simplicity 🧲 Vue 3 Hooks library
See the code[!IMPORTANT] Developing, building, and running the documentation for this repository now require Node.js >= 22.18.0. The published hooks still target Vue 3 applications and do not add a Node.js runtime requirement in the browser.
npm i vue-hooks-plus
<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
import { useRequest } from 'vue-hooks-plus'
Introduced on demand
import useRequest from 'vue-hooks-plus/es/useRequest'
Auto Import
import AutoImport from 'unplugin-auto-import/vite'
import { VueHooksPlusResolver } from '@vue-hooks-plus/resolvers'
export const AutoImportDeps = () =>
AutoImport({
imports: ['vue', 'vue-router'],
include: [/\.[tj]sx?$/, /\.vue$/, /\.vue\?vue/, /\.md$/],
dts: 'src/auto-imports.d.ts',
resolvers: [VueHooksPlusResolver()],
})
const { VueHooksPlusResolver } = require('@vue-hooks-plus/resolvers')
module.exports = {
/* ... */
plugins: [
require('unplugin-auto-import/webpack')({
imports: ['vue', 'vue-router'],
include: [/\.[tj]sx?$/, /\.vue$/, /\.vue\?vue/, /\.md$/],
dts: 'src/auto-imports.d.ts',
resolvers: [VueHooksPlusResolver()],
}),
],
}
For other supported tools, please see unplugin-auto-import
Welcome to join us! You can check out the Contributing Guide to learn how to get started.
Thanks for all their contributions 🐝 !
This project is heavily inspired by the following awesome projects.
MIT License © 2022-PRESENT YongGit
488 followers · starred Apr 2025
13 followers · starred May 2025
13 followers · starred Feb 2023
113 followers · starred Jan 2023