Home
Softono
buttercms-vuejs-snipcart

buttercms-vuejs-snipcart

Open source MIT JavaScript
19
Stars
5
Forks
0
Issues
4
Watchers
7 years
Last Commit

About buttercms-vuejs-snipcart

buttercms-vuejs-snipcart is a reference implementation for building a headless e-commerce platform using Vue.js for the frontend, ButterCMS as the headless content management system for backend content, and Snipcart for shopping cart functionality. This project demonstrates how to integrate these tools to create a customizable and modern online store. The solution provides a complete setup to create a neat Vue storefront, integrate a fully customizable HTML and JavaScript cart directly into the Vue application, and connect the entire system with ButterCMS for dynamic product and content management. It includes standard Vue.js build scripts for dependency installation, local development with hot reloading, and production builds with minification. The example serves as a practical tutorial for developers looking to replace traditional monolithic e-commerce setups with a decoupled architecture that allows for greater flexibility and performance. It is suitable for developers seeking to launch a custom shopping e

Platforms

Web Self-hosted

Languages

JavaScript

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

vuejs-ecommerce-snipcart-buttercms

There's a plethora of cool frameworks/ tools out there. Why not create a custom, kick*ss shopping experience with these?

Here, I want to use Vue.js to show you that's possible. Because yeah, Vue.js e-commerce is a thing!

And with the right set up in the backend—headless content management, namely— it can be a darn cool thing.

Steps:

  • Create a neat, frontend Vue storefront
  • Integrate a customizable HTML/JS cart in a Vue app
  • Hook the Vue e-comm. app with headless ButterCMS

Read the full tutorial

See the live demo

Enjoy folks!

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.