🌟 Help others discover us, star our GitHub repo! 🌟

Integrate Vue.js with Webiny Headless CMS

Using the performant and versatile framework Vue.js with Webiny as a data source makes for a formidable duo of efficiently updating components as well as stable, scalable and secure content delivery.

Why Vue.js?

Vue.js is an approachable, performant and versatile framework for building user interfaces on the web. It builds on top of standard HTML, CSS and JavaScript and utilizes a virtual DOM in order to efficiently update only components that have changed. It is a compiler-optimized rendering system that rarely requires manual optimization.

Stylized Vue.js logo

Why Webiny?

Webiny Headless CMS contains everything an enterprise needs to build, manage and deliver content at scale.

Webiny doesn't just manage your content, it also allows you to manage all of your projects centrally using built-in internationalization and multi-site features, and use advanced processes that support organization-wide collaboration.

Stylized Webiny logo

Vue.js + Webiny integration

You can easily build dynamic content-heavy sites or complex multi-flow applications with Vue.js and use Webiny to deliver a highly-scalable, fault-tolerant application that scales effortlessly. Use a single Webiny instance to manage content for an unlimited number of websites. All under one tenant in your own security perimeter.

Vue.js Benefits

  • Declarative rendering that extends HTML with a template syntax
  • Automatically tracks JavaScript state changes and efficiently updates the DOM when changes happen
  • Easily pass rich data through your app and keep state out of the DOM
  • Designed to be flexible and incrementally adoptable

Webiny Headless CMS Benefits

  • Keep your data in your cloud, under your own security perimeter
  • Unlock greater performance by storing and delivering content closer to your users
  • Webiny runs on highly-scalable fault-tolerant serverless services that scale in and out in seconds
  • Marketing teams have full control to create and manage content, landing pages, files, and forms across multiple web properties
  • Webiny is open source, released under an MIT license, and architected for extensibility

Building a Frontend With Vue.js

Learn how to build a frontend for Webiny Headless CMS using React.

Step 1

Install and Deploy Webiny

Skip this step if you already have Webiny installed and deployed. Be sure to check out the prerequisites for installing Webiny on your local machine.

Then, create a new Webiny project by running the following command. If you get stuck or for more details, please see our documentation.

npx create-webiny-project my-webiny-project
Copy
Step 2

Create a new Vue.js site

Run the following command to install and execute the official Vue project scaffolding tool.

Visit the documentation for more information.

npm init vue@latest
Copy
Step 3

Add and Configure Vue Apollo

Add Apollo Client and follow the instructions in the docs to configure it to connect to Webiny's GraphQL API using your API Token.

Webiny API instructions →

npm install --save vue-apollo graphql apollo-boost
Copy

Check out these tutorials on using
Webiny + Vue.js on our blog

Christina PetitChristina Petit
Build a Job Board with VueJS and GraphQL

In this tutorial we will be building a Job Board Application, integrating Webiny CMS into a Vue.js frontend using GraphQL.

Christina PetitChristina Petit
Create a Marketplace App with Vue.js and Pinia

In this tutorial we will build a marketplace application with Vue.js, Tailwind and Pinia state management library.

Taminoturoko BriggsTaminoturoko Briggs
How to Implement Pagination with Webiny Headless CMS in Vue

In this tutorial, we are going to learn how to implement cursor-based pagination when using Webiny headless CMS in Vue.

Other Integrations

Webiny also supports other frontend technologies.

Gatsby logo

Gatsby

Gatsby integrates different content, APIs and services seamlessly into one experience.

Discover more →
Gatsby logo

Next.js

Next.js is a React framework that lets you build hybrid static and server rendered applications.

Discover more →
Gatsby logo

React

A declarative, component-based JavaScript library for building user interfaces.

Discover more →
Flutter logo

Flutter

Build apps for any screen with Flutter. Compiles to mobile, web, desktop and JavaScript runtimes.

Discover more →
By using this website you agree to our privacy policy
Webiny Chat

Find us on Slack

Webiny Community Slack