This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
1.1.0
1.1.0 (2017-10-22)
Features
- config add possibility to declare nuxtent options
api
key as a function
given theisStatic
parameter to adjust Axios options when usingnuxt generate
, fixes #92
{
content: {
page: '/_slug',
permalink: '/:year/:slug',
generate: ['get', 'getAll']
},
api: function(isStatic) {
return {
browserBaseURL: isStatic ? 'http://production-url.com' : ''
}
}
}
-
config all nuxtent options present in
api
key are now forwarded toaxios
-
module allow
.yml
file extension for content files (a6b240a), closes #69