A simplified introduction to VitePress for beginners, built as a live demo for the course B5.4.3 – Component-Based Development.
- Getting started: installation, the setup wizard, file structure and configuration
- Routing: file-based routing, linking between pages, clean URLs, route rewrites and dynamic routes
- Markdown features: custom containers, alerts, code groups and syntax highlighting
- Built the site and organised the content into a short learning path
- Designed the home page to link each VitePress feature to its explanation
- Added a custom
successcontainer using a markdown-it plugin and CSS - Deployed the site on Vercel
Credit where it's due: the tutorial content is adapted from the official VitePress documentation.
VitePress · Vue · Vite · Markdown · TypeScript · Vercel
Requires Node.js 20 or later.
npm install
npm run docs:devThen open http://localhost:5173.
Karen Himawan · GitHub