@mmintel/nuxt-datocms
v0.0.9
Published
Connects DatoCMS with Nuxt
Downloads
1
Readme
datocms
Connects DatoCMS with Nuxt
Setup
- 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
}
}
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
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
License
Copyright (c) Marc Mintel [email protected]