/vue-datocms

Vue.js components for DatoCMS

Primary LanguageTypeScriptMIT LicenseMIT

👉 Visit the DatoCMS homepage or see What is DatoCMS?


vue-datocms

MIT NPM Build Status

A set of components and utilities to work faster with DatoCMS in Vue.js environments. Integrates seamlessly with DatoCMS's GraphQL Content Delivery API.

  • Works with Vue 3 (version 4 is maintained for compatibility with Vue 2);
  • TypeScript ready;
  • Compatible with any data-fetching library (axios, Apollo);
  • Usable both client and server side;
  • Compatible with vanilla Vue and pretty much any other Vue-based solution.

Table of Contents

Features

vue-datocms contains Vue components ready to use, helpers functions and usage examples.

Components:

Composables:

Helpers:

Installation

# First, install Vue
npm install vue
# Then install vue-datocms
npm install vue-datocms

# Demos

For fully working examples take a look at our [examples directory](https://github.com/datocms/vue-datocms/tree/master/examples).

Live demo: [https://vue-datocms-example.netlify.com/](https://vue-datocms-example.netlify.com/)

Development

This repository contains a number of demos/examples. You can use them to locally test your changes.

cd examples
npm setup
npm run dev

What is DatoCMS?

DatoCMS is the REST & GraphQL Headless CMS for the modern web.

Trusted by over 25,000 enterprise businesses, agency partners, and individuals across the world, DatoCMS users create online content at scale from a central hub and distribute it via API. We ❤️ our developers, content editors and marketers!

Quick links:

Our featured repos:

Or see all our public repos