This is an example project showcasing the capabilities of VueBro - a Vue.js-powered static site generator. The project demonstrates how to create a multi-page site with Vue components and modern web technologies.
VueBro is a static site generator built on Vue.js that allows you to create fast, SEO-friendly websites. This example demonstrates:
- Multi-page site structure with Vue.js components
- JSON-based content configuration
- Modern web technologies (ESM imports, import maps)
- Responsive design with UnoCSS
- SEO optimization with proper meta tags
- Vue.js 3.5.22 (ESM browser build)
- Vue Router 4.6.3 for navigation
- Element Plus UI library
- UnoCSS for styling
- Import Maps for dependency management
- Static site generation capabilities
- 🚀 Fast, lightweight static site
- 📱 Responsive design
- 🔍 SEO optimized with proper meta tags
- 🌐 Multi-page navigation
- ⚡ ESM-based module loading
- 🎨 Modern UI with Element Plus components
example.ru/
├── index.html # Main entry point
├── index.json # Content configuration
├── feed.json # JSON Feed configuration
├── fonts.json # Font configuration
├── assets/ # Compiled JS/CSS files
├── page1/, page2/, page3/ # Individual page directories
├── CNAME # Custom domain configuration
└── README.md # This file
- Content is configured in
index.jsonwhich defines pages, titles, descriptions, and metadata - Vue components are processed and compiled to static HTML/JS
- Import maps in
index.htmlhandle dependency loading without bundlers - Each page directory contains its own HTML file with proper routing
To run this example locally:
# Using Python
python -m http.server 8000
# Or using Node.js
npx http-serverThen open http://localhost:8000 in your browser.
The site's content and structure are defined in index.json:
- Page titles, descriptions, and metadata
- Navigation structure
- SEO properties (Open Graph, Twitter Cards)
- Content hierarchy
For more information about VueBro or to contribute to the project, visit the main VueBro repository.
This example is part of the VueBro project. Please refer to the main repository for licensing information.