Skip to content

gweit/vue-prismic

Repository files navigation

vue-prismic

Vue.js Prismic.io Integration

This is an Example on how to integrate prismic.io Headless CMS into Vue.js according to this:

https://prismic.io/docs/javascript/getting-started/integrating-with-an-existing-javascript-project

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

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

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

Steps i´ve done:

  • vue init webpack vue-prismic
  • npm install prismic-javascript prismic-dom --save (already added to the package.json in this repo)
  • npm run dev
  • alternated hello.vue with methods and beforeMount

Todo:

  • check production Build
  • loop through blog posts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published