Thank you for your interest in contributing to VueYous! This project is a resource for learning how to create reusable, maintainable, and extensible composable functions similar to VueUse.
- mise - Runtime version manager
- This will automatically install Node.js 24 and pnpm 10
- Install mise (if not already installed):
$ curl https://mise.run | sh- Fork and clone the repository:
$ git clone https://github.com/your-username/vueyous.git
$ cd vueyous- Install tools and dependencies:
$ mise install
$ mise run setup- Start the development server:
$ mise run docs:devvueyous/
βββ packages/
β βββ core/ # Core composable functions
β βββ shared/ # Shared utilities
β βββ guide/ # Documentation (English)
β βββ ja/ # Documentation (Japanese)
β βββ zh/ # Documentation (Chinese)
βββ package.json # Root package configuration
βββ vite.config.ts # Vite configuration
- Create a new folder in the
packages/coredirectory:
$ mkdir packages/core/useYourComposable-
Create the following files:
index.ts- Composable function implementationindex.md- Documentationdemo.vue- Demo component (if needed)
-
Add the export to
packages/core/index.ts
- English documentation:
packages/guide/ - Japanese documentation:
packages/ja/guide/ - Chinese documentation:
packages/zh/guide/
- Use TypeScript
- Follow ESLint rules (check with
mise run lint) - Code formatting is applied automatically
# Start development server
$ mise run docs:dev
# Build
$ mise run build
# Type check
$ mise run type-check
# Lint
$ mise run lint
# Lint auto-fix
$ mise run lint:fix
# Text lint (for Japanese documents)
$ mise run lint:text
# Build documentation
$ mise run docs:build
# Preview documentation
$ mise run docs:previewThank you for contributing! π