No description, website, or topics provided.
Clone or download
Latest commit 0796f5b Sep 28, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Update headless.js Sep 28, 2017
config init Aug 2, 2017
headless/content init Aug 2, 2017
src Update Hello.vue Sep 10, 2017
static init Aug 2, 2017
.babelrc init Aug 2, 2017
.editorconfig init Aug 2, 2017
.eslintignore init Aug 2, 2017
.eslintrc.js init Aug 2, 2017
.gitignore init Aug 2, 2017
.postcssrc.js init Aug 2, 2017
README.md update readme Aug 2, 2017
index.html init Aug 2, 2017
package-lock.json init Aug 2, 2017
package.json init Aug 2, 2017

README.md

headless-example-vue

Example project connected to the Headless CMS

This is simply the Vue webpack template.

Notable changes to integrate Headless CMS:

build/headless.js added

headless/ contains downloaded content files

src/components/Hello.vue requires the JSON file

npm run fetchContent gets the content from the Content API

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For detailed explanation on how things work, checkout the guide and docs for vue-loader.