English | 简体中文
VueDir is a lightweight collection of Vue 3 directives designed to provide a set of practical custom directives that help developers build Vue applications more efficiently.
- 🎯 Focus Directive: Provides v-focus directive for automatic focus functionality
- 🎨 Lightweight: Import on demand, no extra bundle size
- 🔧 Easy to Use: Simple API design for quick adoption
- 📦 TypeScript: Written in TypeScript with complete type support
Install with pnpm (recommended):
pnpm add @cp-vuedir/core
Register VueDir in your Vue application:
import { createApp } from 'vue'
import VueDir from '@cp-vuedir/core'
const app = createApp(App)
app.use(VueDir)
app.mount('#app')
Visit our official documentation for more information.
We welcome all forms of contributions! Please check our Contributing Guide to learn how to get involved.
VueDir is open-source software licensed under the MIT License. See the MIT License file for more details.