https://github.com/mmintel/nuxt-datocms
Connects nuxt and DatoCMS
https://github.com/mmintel/nuxt-datocms
Last synced: about 2 months ago
JSON representation
Connects nuxt and DatoCMS
- Host: GitHub
- URL: https://github.com/mmintel/nuxt-datocms
- Owner: mmintel
- License: mit
- Created: 2019-09-07T08:13:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T09:19:57.000Z (over 2 years ago)
- Last Synced: 2025-04-09T19:56:04.423Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# datocms
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Circle CI][circle-ci-src]][circle-ci-href]
[![Codecov][codecov-src]][codecov-href]
[![License][license-src]][license-href]> Connects DatoCMS with Nuxt
[📖 **Release Notes**](./CHANGELOG.md)
## Setup
1. Add `datocms` dependency to your project
```bash
npm i @mmintel/nuxt-datocms
```2. Add `datocms` to the `modules` section of `nuxt.config.js`
```js
{
modules: [
// Simple usage
'@mmintel/nuxt-datocms',// With options
['@mmintel/nuxt-datocms', { /* module options */ }]
],
// or place options here
datocms: {
// module options
}
}
```## Options
`apiKey`: read-only API key for DatoCMS
`httpEndpoint`: mainly for testing, but maybe DatoCMS will one day change it's API url, who knows..## Development
1. Clone this repository
2. Install dependencies using `yarn install` or `npm install`
3. Start development server using `npm run dev`## License
[MIT License](./LICENSE)
Copyright (c) Marc Mintel
[npm-version-src]: https://img.shields.io/npm/v/datocms/latest.svg?style=flat-square
[npm-version-href]: https://npmjs.com/package/datocms[npm-downloads-src]: https://img.shields.io/npm/dt/datocms.svg?style=flat-square
[npm-downloads-href]: https://npmjs.com/package/datocms[circle-ci-src]: https://img.shields.io/circleci/project/github/.svg?style=flat-square
[circle-ci-href]: https://circleci.com/gh/[codecov-src]: https://img.shields.io/codecov/c/github/.svg?style=flat-square
[codecov-href]: https://codecov.io/gh/[license-src]: https://img.shields.io/npm/l/datocms.svg?style=flat-square
[license-href]: https://npmjs.com/package/datocms