Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Get them all - just not everywhere

Compare
Choose a tag to compare
@alidcast alidcast released this 26 Jul 00:20
· 394 commits to master since this release

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 of Nuxtent 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 as routes, which is an array that accepts object route configurations. Each object requires the route's name as route.name and the API request method as route.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 have get and getAll payloads work together.