This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
Get them all - just not everywhere
Fixes
- Fixed
getAll
so that payload is passed to route upon static generation. But discovered bug (or feature?) in Nuxt that causes conflict when a payload is passed to top route and a separate payload is passed to its children (#22). Until this is fixed, all features ofNuxtent
will only be available in running apps. - Made sure API request is made for server builds. Added option to pass
iS_STATIC=true
so that it is not requested in static server build. (Fixes #29)
API changes
routeName
is now used asroutes
, which is an array that accepts object route configurations. Each object requires the route's name asroute.name
and the API request method asroute.method
.permalink
now only specifics the ending url params, as the content path will be prefixed by the page directory it is found under if any. This was necessary in order to haveget
andgetAll
payloads work together.