Many developers that want to build an application don’t need a full engine / libary to accomplish it. 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.
In this blog I will show you how to pick up an existing codebase example to build your very own beautiful Vue.js / Nuxt.js Website. Cosmic JS has an example Vue Universal Website built using the Nuxt.js framework. It was adapted by Sebastien Chopin from the Next.js website that Cosmic JS put out a month ago. 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.
Your bucket’s name is the name of your website, project, client or web application that you are building. I named mine “Vue.js” to remain concise for our example blog.
Once you’ve signed up and named your bucket, you’ll be prompted to start from scratch or “see some apps”. For this blog I simply clicked the right button to “see some apps” so that I could begin the installation process for the Nuxt.js Website.
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.
Now that your app is deployed to the Cosmic JS App Server, you’re free to completely manage your Vue.js Website and all of its content from one place.
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.