Hackernoon logoDeploy a Vue.js App in 3 Steps using Cosmic JS by@carsoncgibbons

Deploy a Vue.js App in 3 Steps using Cosmic JS

Carson Gibbons Hacker Noon profile picture

@carsoncgibbonsCarson Gibbons

Cosmic JS Co-Founder

Similar to AngularJS, Vue.js is not a “full-blown framework” — it is designed to be a view layer that is simple and flexible for apps and websites whose data model is simple and matches more closely that of the application’s presentation layer.

Vue.js App Demo

In this blog I will demonstrate how to Install and Deploy a Vue.js Website, built using Nuxt.js, Node.js and Cosmic JS. The app was adapted by Sebastien Chopin from the Next.js website from Cosmic JS. Code is shared between the client and server making development a breeze. Add Cosmic JS-powered content and you’re taking your website to the Nuxt.js level.

I’ll be using Cosmic JS for this example blog. Cosmic JS is an API-first CMS that makes managing and building websites and applications faster and more intuitive. By decoupling content from code, Cosmic JS empowers developer flexibility while ensuring content editors can plan and deploy content as it best suits them. We’ll be using Cosmic JS to install our example app, deploy and make content updates moving forward from the cloud-based Content Management Platform.

Nuxt.js Website Page
Nuxt.js Website Demo
Nuxt.js Website Codebase on GitHub

1. Create a New Bucket

Your bucket’s name is the name of your website, project, client or web application that you are building.

2. Install the Cosmic JS Nuxt.js Website

Once you’ve signed up and named your bucket, you’ll be prompted to start from scratch or install an app. For this blog I simply clicked the Apps button to begin the installation process for the Nuxt.js Website.

Cosmic JS gives you the ability to filter between programming languages such as Node.js, PHP, React, AngularJS and more.

3. Deploy to Web

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

It’s as easy as signing up, creating a new bucket, installing the web application(s), edit objects and deploy! I get my confirmation email to access my web application and also see my options for bucket upgrades like custom domains, one-click SSL, webhooks and localization.

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.

Carson Gibbons is the Co-Founder & CMO of Cosmic JS, an API-first Cloud-based Content Management Platform that decouples content from code, allowing devs to build slick apps and websites in any programming language they want.


Join Hacker Noon

Create your free account to unlock your custom reading experience.