networkteam / zebra

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

Note `window.@Neos.Neos.Ui:Nodes` will be deprecated #12

Open mhsdesign opened 1 month ago

mhsdesign commented 1 month ago

with https://github.com/neos/neos-ui/pull/3770 we will improve the Neos Ui content element bootstrapping to not depend on those script tags anymore.

In theory this change should make the zebra even simpler but it would be great to see if the zebra still runs with these adjustments and even works if no script tags are emitted.

mhsdesign commented 1 month ago

To test this change one can use the bugfix/remove-ui-script-tag-compiled-artifacts branch in composer:

"neos/neos-ui": "dev-bugfix/remove-ui-script-tag-compiled-artifacts as 8.3.8",
hlubek commented 3 weeks ago

@mhsdesign Thanks for the hint! I'll take care to test that.

mhsdesign commented 3 weeks ago

Fyi just updated the branch. I didnt look into it where you create the nasty <script tags, but for the content elements you can and should omit them ;)