Skip to content

Commit

Permalink
[default-theme]add config.js, /README.md with frontmatter
Browse files Browse the repository at this point in the history
  • Loading branch information
keiichiroy committed Apr 11, 2019
1 parent eed871d commit 8894635
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
18 changes: 18 additions & 0 deletions docs/.vuepress/config.js
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/': []
}
}
}
Binary file added docs/.vuepress/public/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 17 additions & 1 deletion docs/README.md
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 added docs/about/README.md
Empty file.

0 comments on commit 8894635

Please sign in to comment.