Removes logic to create preview authentication cookie.
Removes Wp GraphQL JWT Authorization plugin.
Adds TW Previews plugin that:
Creates a custom preview route.
Creates a preview route template that loads front-end preview routes in an iframe.
Communicates with the front-end preview pages with post message events to receive the query needed to fetch data, then send the fetched data to the front-end to render.
Preview route polls query for changes and sends updated data to front-end (auto updates while editing)
Preview route requires authenticated user.
To Review
[x] Checkout Branch.
[x] Run npm run local (or npm run refresh if you want a fresh database.)
Closes #186
To Review
npm run local
(ornpm run refresh
if you want a fresh database.)