Connects DatoCMS with Nuxt
- Add
datocms
dependency to your project
npm i @mmintel/nuxt-datocms
- Add
datocms
to themodules
section ofnuxt.config.js
{
modules: [
// Simple usage
'@mmintel/nuxt-datocms',
// With options
['@mmintel/nuxt-datocms', { /* module options */ }]
],
// or place options here
datocms: {
// module 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..
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
Copyright (c) Marc Mintel marc@mintel.me