Nuxt database module acting as Git-based Headless CMS.
- Add the
nuxt-db
dependency withyarn
ornpm
to your project - Add
nuxt-db
to themodules
section ofnuxt.config.js
- Configure it:
{
modules: [
// Simple usage
'nuxt-db',
// With options
['nuxt-db', { dir: 'content' }]
]
}
or add top level options
{
database: {
dir: 'content'
}
}
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
Bug reports and pull requests are welcome on GitHub at https://github.com/hardpixel/nuxt-db.
The gem is available as open source under the terms of the MIT License.