This module is for internal feature testing, it will break often. DO NO USE
- Add
simple-nuxt-wpapi
dependency using yarn or npm to your project - Add
simple-nuxt-wpapi
tomodules
section ofnuxt.config.js
{
modules: [
// Usage with options
[
"simple-nuxt-wpapi",
{
{
nodeCache: {
enabled: true,
options: {
// node-cache options
}
},
wpApi: {
enabled: true,
debug: false,
options: {
// node wpapi options
endpoint: 'http://demo.wp-api.org/wp-json'
}
}
}
}
]
];
}
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
Copyright (c) Enrique Garrido kik@ferpect.io