vue-datocms
TypeScript icon, indicating that this package has built-in type declarations

5.1.2 • Public • Published

👉 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

Development

This repository contains a number of examples. You can use them to locally test your changes to the package:

To use them, follow this recipe starting from the vue-datocms folder:

npm install
cd examples/vite-typescript-vue3
npm run setup
npm run dev

It's not recommended to leverage npm link to use the working copy from the examples: that would complicate the structure of each example and it would not replicate a real-world installation. Therefore the npm run setup available in each example packs and installs the local copy of vue-datocms via a .tgz compressed tarball.


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

Readme

Keywords

Package Sidebar

Install

npm i vue-datocms

Weekly Downloads

1,174

Version

5.1.2

License

MIT

Unpacked Size

133 kB

Total Files

6

Last publish

Collaborators

  • sistrall_
  • marcelofinamorvieira
  • stefanoverna
  • delphaber
  • mat_jack1
  • souljuse