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
. | |
├── LICENSE | |
├── README.md | |
├── launch.js | |
├── package.json | |
├── prepare.js | |
├── src | |
│ ├── assets | |
│ │ └── images | |
│ │ └── NativeScript-Vue.png |
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
backend: | |
name: github | |
repo: andreliem/vuepress-netlify-cms | |
branch: master # Branch to update (optional; defaults to master) | |
media_folder: "docs/.vuepress/public/images" | |
public_folder: "docs/.vuepress/dist/" | |
collections: | |
- name: "doc" # Used in routes, e.g., /admin/collections/blog | |
label: "Doc" # Used in the UI | |
folder: "docs" # The path to the folder where the documents are stored |
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
module.exports = { | |
title: 'Netlify CMS + VuePress', | |
description: 'Netlify + VuePress', | |
themeConfig: { | |
docsDir: 'docs', | |
repo: 'andreliem/vuepress-netlify-cms', | |
sidebar: [ | |
'/', | |
'/welcome', | |
'/test' |
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
. | |
├── components | |
│ └── PostLayout.vue | |
├── config.js | |
├── dist | |
└── public | |
├── admin | |
│ ├── config.yml | |
│ └── index.html | |
└── images |
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
├── docs | |
│ ├── README.md | |
│ ├── test.md | |
│ └── welcome.md |
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
{ | |
"scripts": { | |
"docs:dev": "vuepress dev docs", | |
"docs:build": "vuepress build docs" | |
}, | |
"devDependencies": { | |
"vuepress": "^0.9.0" | |
} | |
} |
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
. | |
├── LICENSE | |
├── README.md | |
├── docs | |
│ ├── README.md | |
│ ├── test.md | |
│ └── welcome.md | |
├── netlify.toml | |
├── package.json | |
└── yarn.lock |
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
export default { | |
head () { | |
let post = this.post | |
return { | |
title: post.meta.name, | |
meta: [ | |
{ | |
hid: `description`, | |
name: 'description', | |
content: post.meta.content |
NewerOlder