WinJS - A Scalable Vue.js Frontend Application Framework
English | 简体中文
This is the official documentation site for the WinJS framework, built with VitePress. The documentation provides comprehensive usage guides, API references, plugin development guidelines, and more for the WinJS framework.
WinJS is a scalable frontend application framework, forked from UmiJS and specifically designed for the Vue.js ecosystem. It provides a complete frontend development solution with full-lifecycle support from project initialization to production deployment.
- 💎 Simplicity First - Built-in routing, state management, build tools, and deployment - only one dependency needed for development
- 🎁 Feature Rich - Supports multiple application types including Web apps, plugins, mini-programs, H5, and offline packages
- 🎉 Extensible - Complete plugin lifecycle with all features extensible through plugins
- ⚖️ Multiple Build Engines - Supports various build solutions including Vite, Webpack, and Rsbuild
- 🌴 Complete Routing - Based on vue-router with support for nested routes, dynamic routing, and code splitting
- 🚄 Future Ready - Built on Vue 3.0, embracing the latest frontend technologies
- Node.js >= 18
- pnpm >= 10 (recommended) / npm >= 8 / yarn >= 1.x
# Using pnpm (recommended)
pnpm dlx @winner-fed/create-win@latest
# Using npm
npx @winner-fed/create-win@latest
# Using yarn
yarn create @winner-fed/win
# Install dependencies
pnpm install
# Start development server
pnpm dev
# Build for production
pnpm build
src/
├── api/ # API Reference Documentation
├── guides/ # Development Guides
│ ├── getting-started.md # Quick Start
│ ├── introduce.md # Framework Introduction
│ ├── build.md # Build Configuration
│ ├── routes.md # Routing Configuration
│ └── ...
├── config/ # Configuration Documentation
├── cli/ # CLI Commands
├── plugins/ # Plugin Documentation
└── blog/ # Blog Articles
Ensure Node.js 18+ and pnpm 10+ are installed.
pnpm install
pnpm dev
Visit http://localhost:5173 to view the documentation.
pnpm build
The build artifacts will be generated in the .vitepress/dist
directory.
We welcome contributions from the community! If you'd like to help improve the documentation:
- Fork this repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Write documentation in English
- Follow Markdown syntax standards
- Code examples should be complete and runnable
- Update relevant navigation when adding new content
This project is open source under the MIT License.