create-vue-docs-ui
Version:
Scaffolding tool for Vue Docs UI projects - Create beautiful documentation websites with one command
165 lines (121 loc) โข 5.16 kB
Markdown
# create-vue-docs-ui
๐ **Scaffolding tool for Vue Docs UI projects** - Create beautiful documentation websites with one command!
Create stunning, responsive documentation websites in minutes with Vue Docs UI. This CLI tool provides everything you need to get started quickly.
## Quick Start
```bash
# Create a new documentation project
npm create vue-docs-ui my-docs
# Navigate to your project
cd my-docs
# Install dependencies
npm install
# Start the development server
npm run dev
```
Your documentation website will be running at `http://localhost:5173`! ๐
## Features
โจ **Zero Configuration** - Works out of the box with sensible defaults
๐ฑ **Responsive Design** - Looks great on all devices
๐จ **Customizable Themes** - Light and dark themes with full customization
๐ **Markdown Support** - Write your docs in Markdown with enhanced features
๐ **Built-in Search** - Powerful search functionality
โก **Lightning Fast** - Built with Vite for incredible performance
๐ **SEO Optimized** - Perfect for public documentation sites
## What You Get
When you run `npm create vue-docs-ui`, you get a complete documentation website with:
- **Modern Vue 3 + TypeScript** setup
- **Pre-configured routing** for seamless navigation
- **Responsive layout** that works on all devices
- **Sample documentation** to get you started
- **Production-ready build** configuration
- **Hot reload** for fast development
## Project Structure
```
my-docs/
โโโ public/
โ โโโ config/
โ โ โโโ site.yaml # Site configuration
โ โโโ docs/
โ โโโ guide/
โ โ โโโ introduction.md
โ โ โโโ installation.md
โ โ โโโ quick-start.md
โ โโโ examples/
โ โโโ basic.md
โโโ src/
โ โโโ App.vue # Main app component
โ โโโ main.ts # Application entry point
โโโ index.html
โโโ package.json
โโโ vite.config.js
```
## Customization
### Site Configuration
Edit `public/config/site.yaml` to customize your site:
```yaml
site:
title: "My Documentation"
description: "My awesome documentation website"
logo: "๐"
author: "Your Name"
navbar:
items:
- title: "Home"
link: "/"
- title: "GitHub"
link: "https://github.com/username/repo"
external: true
theme:
defaultMode: "light"
allowToggle: true
colors:
primary: "#3b82f6"
secondary: "#64748b"
```
### Writing Documentation
Create Markdown files in `public/docs/` and they'll automatically be available as pages. Vue Docs UI supports:
- **Enhanced Markdown** with syntax highlighting
- **Tables and lists** with beautiful styling
- **Code blocks** with language-specific highlighting
- **Math equations** (LaTeX support)
- **Custom HTML** when needed
## Commands
```bash
# Development
npm run dev # Start development server
# Production
npm run build # Build for production
npm run preview # Preview production build
```
## Requirements
- **Node.js** 14.18+ or 16+
- **npm** 6+ or **yarn** 1.22+
## Related Projects
- [vue-docs-ui](https://github.com/shenjianZ/vue-docs-ui) - The underlying documentation framework
- [Vue.js](https://vuejs.org/) - The progressive JavaScript framework
- [Vite](https://vitejs.dev/) - Next generation frontend tooling
## ๐ Support & Community
- ๐ [Documentation](https://github.com/shenjianZ/vue-docs-ui)
- ๐ [Report Issues](https://github.com/shenjianZ/create-vue-docs-ui/issues)
- ๐ก [Feature Requests](https://github.com/shenjianZ/create-vue-docs-ui/discussions)
- ๐ฌ [Join Discussions](https://github.com/shenjianZ/vue-docs-ui/discussions)
- ๐ง [Email Support](mailto:contact@vuedocsui.com)
## ๐ค Contributing
We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
๐ **Documentation in multiple languages:**
- ๐บ๐ธ [English Contributing Guide](CONTRIBUTING.md)
- ๐จ๐ณ [ไธญๆ่ดก็ฎๆๅ](CONTRIBUTING-zh.md)
### Quick Contributing
- ๐ [Report bugs](https://github.com/shenjianZ/create-vue-docs-ui/issues/new)
- ๐ก [Request features](https://github.com/shenjianZ/create-vue-docs-ui/discussions/new)
- ๐ [Improve documentation](https://github.com/shenjianZ/create-vue-docs-ui/edit/master/README.md)
- ๐จ [Enhance templates](https://github.com/shenjianZ/create-vue-docs-ui/tree/master/template)
## ๐ Stats




## License
MIT ยฉ [Vue Docs UI Team](https://github.com/shenjianZ/vue-docs-ui)
---
**Happy documenting! ๐**