0.0.9 • Published 5 years ago

@mmintel/nuxt-datocms v0.0.9

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

datocms

npm version npm downloads Circle CI Codecov License

Connects DatoCMS with Nuxt

📖 Release Notes

Setup

  1. Add datocms dependency to your project
npm i @mmintel/nuxt-datocms
  1. Add datocms to the modules section of nuxt.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

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

Copyright (c) Marc Mintel marc@mintel.me