You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VitePress provides a homepage layout. To use it, specify `home: true` plus some other metadata in your root `index.md`'s [YAML frontmatter](../guide/frontmatter). This is an example of how it works:
4
+
5
+
```yaml
6
+
---
7
+
home: true
8
+
heroImage: /logo.png
9
+
heroAlt: Logo image
10
+
heroText: Hero Title
11
+
tagline: Hero subtitle
12
+
actionText: Get Started
13
+
actionLink: /guide/
14
+
features:
15
+
- title: Simplicity First
16
+
details: Minimal setup with markdown-centered project structure helps you focus on writing.
17
+
- title: Vue-Powered
18
+
details: Enjoy the dev experience of Vue + webpack, use Vue components in markdown, and develop custom themes with Vue.
19
+
- title: Performant
20
+
details: VitePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded.
0 commit comments