nuxt-db
v0.2.3
Published
JSON database module for Nuxt
Downloads
13
Readme
Nuxt DB
Nuxt database module acting as Git-based Headless CMS.
Installation
- 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'
}
}
Development
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/hardpixel/nuxt-db.
License
The gem is available as open source under the terms of the MIT License.