simple-nuxt-wpapi
v0.0.7
Published
DO NOT USE - this package is intended as a feature testing tool
Downloads
4
Readme
simple-nuxt-wpapi
Features
This module is for internal feature testing, it will break often. DO NO USE
Setup
- 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'
}
}
}
}
]
];
}
Usage
Development
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
License
Copyright (c) Enrique Garrido [email protected]