Skip to content

Instantly share code, notes, and snippets.

View andreliem's full-sized avatar
🏠
Working from home

Andre Liem andreliem

🏠
Working from home
View GitHub Profile
.
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ launch.js
β”œβ”€β”€ package.json
β”œβ”€β”€ prepare.js
β”œβ”€β”€ src
β”‚ β”œβ”€β”€ assets
β”‚ β”‚ └── images
β”‚ β”‚ └── NativeScript-Vue.png
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
module.exports = {
title: 'Netlify CMS + VuePress',
description: 'Netlify + VuePress',
themeConfig: {
docsDir: 'docs',
repo: 'andreliem/vuepress-netlify-cms',
sidebar: [
'/',
'/welcome',
'/test'
.
β”œβ”€β”€ components
β”‚ └── PostLayout.vue
β”œβ”€β”€ config.js
β”œβ”€β”€ dist
└── public
β”œβ”€β”€ admin
β”‚ β”œβ”€β”€ config.yml
β”‚ └── index.html
└── images
β”œβ”€β”€ docs
β”‚ β”œβ”€β”€ README.md
β”‚ β”œβ”€β”€ test.md
β”‚ └── welcome.md
{
"scripts": {
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs"
},
"devDependencies": {
"vuepress": "^0.9.0"
}
}
.
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ docs
β”‚ β”œβ”€β”€ README.md
β”‚ β”œβ”€β”€ test.md
β”‚ └── welcome.md
β”œβ”€β”€ netlify.toml
β”œβ”€β”€ package.json
└── yarn.lock
@andreliem
andreliem / vue
Created July 31, 2017 21:18
meta tag nuxt example
export default {
head () {
let post = this.post
return {
title: post.meta.name,
meta: [
{
hid: `description`,
name: 'description',
content: post.meta.content