netzo / fresh-netzo

Full-stack Deno Fresh meta-framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
https://netzo.io
MIT License
51 stars 3 forks source link

debug(components): inject single island bundle #131

Closed miguelrk closed 9 months ago

miguelrk commented 9 months ago

This is an attempt to fix deployment issue due to missing _app.tsx.

miguelrk commented 9 months ago

Based on the tests/investigation here, I'll merge and release 0.4.38 to test this if we can get away without having to require an _app.tsx for the minimal template (it works locally, but might fail in deployment).

If this does not resolve https://github.com/netzo/netzo/issues/130, I'll release a hotfix patch release 0.4.39 with a local @/islands/layout.tsx file which simply does export * from "netzo/components/layout/mod.ts"; instead of dynamically injecting the islands via the plugin. Note that the @/islands/layout.tsx file should only be added to the crm template which has an _app.tsx.

Update: 0.4.38 did not solve this, proceeding with aforementioned 0.4.39