-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[default-theme]add config.js, /README.md with frontmatter
reference: - https://v1.vuepress.vuejs.org/theme/default-theme-config.html#homepage - vuejs/vuepress#274
- Loading branch information
1 parent
eed871d
commit 8894635
Showing
4 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
title: "My Vuepress Docs", | ||
theme: "@vuepress/theme-default", | ||
themeConfig: { | ||
nav: [ | ||
{ text: 'Home', link: '/' }, | ||
{ text: 'Guide', link: '/guide/' }, | ||
{ text: 'External', link: 'https://google.com' }, | ||
], | ||
sidebar: { | ||
'/': [ | ||
'', | ||
'' | ||
], | ||
'/about/': [] | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
# Hello VuePress | ||
--- | ||
home: true | ||
heroImage: hero.png | ||
heroText: Hero Title | ||
tagline: Hero subtitle | ||
actionText: Get Started → | ||
actionLink: /guide/ | ||
features: | ||
- title: Simplicity First | ||
details: Minimal setup with markdown-centered project structure helps you focus on writing. | ||
- title: Vue-Powered | ||
details: Enjoy the dev experience of Vue + webpack, use Vue components in markdown, and develop custom themes with Vue. | ||
- title: Performant | ||
details: VuePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded. | ||
footer: MIT Licensed | Copyright © 2018-present Evan You | ||
--- | ||
|
Empty file.