Utilities for interacting with Contentful, designed with Vue and Nuxt in mind.
The bukwild-contentful-utils is a set of utilities designed to interact with Contentful, with a specific focus on using Vue and Nuxt. It provides functions and methods that can be used to configure and access Contentful API data within Vue and Nuxt components.
getEntry, getEntryBySlug, getEntries, and getPaginatedEntries, which allow you to retrieve single entries, entries by slug, lists of entries, and paginated lists of entries for a given content type.refs and ref, which filter out broken references and merge in the id, dates, and sys attributes.head property. It assumes that you have created a Contentful content model for SEO fields, with fields for title, description, image, and robots.To install the bukwild-contentful-utils package, you can use either Yarn or npm.
Using Yarn:
yarn add bukwild-contentful-utils
Using npm:
npm install --save bukwild-contentful-utils
The bukwild-contentful-utils package provides a set of utilities for interacting with the Contentful API, specifically aimed at integrating with Vue and Nuxt. It offers functions for working with images, querying data from Contentful, handling references, and setting SEO-related fields. These utilities can be easily installed and configured within your Vue or Nuxt project.