Deploy a Vue.js Ecommerce App in 3 Steps
In this blog I will demonstrate deploying a Vue Ecommerce Website in 3 steps. This website is a simple e-commerce app built with Nuxt and Cosmic JS. Stripe is integrated as the payment processor. Flexbox based Bulma framework is used for styling, along with Buefy components. The app was built by Muhammad Althaf for the Cosmic JS Community and was built on Vue.js, Nuxt.js, Node.js and Cosmic JS.
Install and manage your Vue Ecommerce Website and all of its content from your Cosmic JS Bucket Dashboard. Simple. đ You can refer to the original tutorial below to build the app from scratch, or continue reading to simply deploy the Vue Ecommerce Website in 3 Steps.
TL;DR:
Vue Ecommerce Website
Vue Ecommerce Website Demo
Vue Ecommerce Website Codebase
How to Build an Ecommerce Website with Nuxt and Cosmic JS
Weâll be using Cosmic JS to install our example app, deploy and make content updates moving forward. Cosmic JS is an API-first Content Management Platform that allows developers to build apps in any programming language while giving content editors a familiar content editor to manage dynamic content from the cloud. If you havenât already, get started by Signing Up for Cosmic JS.
Create a New Bucket
Your bucketâs name is the name of your website, project, client or web application that you are building.
Install the Vue Ecommerce Website
Cosmic JS gives you the ability to filter between frameworks and programming languages such as Node.js, Vue.js, React, AngularJS and more.
Deploy to Web
Navigate to âDeploy Web Appâ located underneath Settings in your left hand navigation bar in your Bucket Dashboard. I clicked âDeploy to Webâ. I can then edit Objects while my web application is deploying. You will receive an email confirming the deployment of your web application. If you encounter any issues during deployment, you may be routed to the Cosmic JS Troubleshooting Page.
Confirm Deploy Location and Branch
Deploy Branch Confirmation Modal
Iâm using the content-ready app from Muhammad Althaf in the Cosmic JS Community, so Iâll use his Master Repo.
Now that your app is deployed to the Cosmic JS App Server, youâre free to completely manage your Vue Ecommerce Website and all of its content from one place.
Cosmic JS is an API-first cloud-based content management platform that makes it easy to manage applications and content. If you have questions about the Cosmic JS API, please reach out to the founders on Twitter or Slack.