networkteam / zebra

A fully editable frontend setup for Neos CMS with Next.js
MIT License
15 stars 1 forks source link

Bugfix: Use HTML from content API for guest frame includes #6

Closed hlubek closed 1 year ago

hlubek commented 1 year ago

Fixes #5 by using the generated HTML from Neos itself.

Additionally fixes #3 by adding an effect to dispatch load/unload events on route changes.

Note: needs https://github.com/networkteam/Networkteam.Neos.ContentApi/pull/2 to work correctly.

hlubek commented 1 year ago

I only tested this with Neos 8.1 so far.

hlubek commented 1 year ago

There was an issue with not using external for the bundler options for next/router. I also changed the includes to be returned as structured data from the content API, which feels nicer anyway.