/snipcart-buttercms-demo

Build Vue.js E-Commerce on Top of Headless ButterCMS [Demo]

Primary LanguageJavaScriptMIT LicenseMIT

Build a Vue.Js E-Commerce App with ButterCMS Headless Backend

Learn how to leverage Vue.js for e-commerce by bundling together a powerful, frontend centric online shop. Our recipe: Vue in the frontend + HTML/JS shopping cart + ButterCMS in the backend. Live demo & code repo included!

Read the full tutorial

See the live demo

Important Notice

This project was created as an example use case of ButterCMS in conjunction with a blog article, Build a Vue.Js E-Commerce App with ButterCMS Headless Backend, and will not be actively maintained.

If you’re interested in exploring the best, most up-to-date way to integrate Butter into javascript frameworks like Vue.js, you can check out the following resources:

Starter Projects

The following turn-key starters are fully integrated with dynamic sample content from your ButterCMS account, including main menu, pages, blog posts, categories, and tags, all with a beautiful, custom theme with already-implemented search functionality. All of the included sample content is automatically created in your account dashboard when you sign up for a free trial of ButterCMS.

Other Resources

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 a detailed explanation on how things work, check out the guide and docs for vue-loader.