Skip to content

Instantly share code, notes, and snippets.

@qgp9
Created July 30, 2017 21:02
Show Gist options
  • Save qgp9/75e59b3ca54f061e61d6512d64766f74 to your computer and use it in GitHub Desktop.
Save qgp9/75e59b3ca54f061e61d6512d64766f74 to your computer and use it in GitHub Desktop.
strategy: nuxt
source_dir: site
target_dir: dist
api_point: api
basename: /
permalink: /:year/:month/:day/:slug
extensions: [".md", ".markdown", ".json", ".html"]
collections:
pages:
type: page
path: .
permalink: /:path
list: /pages/list
data:
type: data
path: _data
permalink: /:path
list: /data/list
extensions: [".js", ".json", ".yml", ".yaml", ".tml", ".toml"]
static:
type: file
extensions: ["*"]
path: _static
permalink: /:path
blog:
type: page
path: _blog
permalink: /blog/:year/:month/:day/:slug
list: /blog/list
build:
protocal: http
host: 127.0.0.1
port: 3001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment