-
Notifications
You must be signed in to change notification settings - Fork 3
[docs] add note to docs "_app
cannot be overwritten"
#76
Comments
Good catch. Indeed, the netzo layout plugin injects a default Keeping this open for now, so that we can add a note to the docs and avoid confusion for users. |
_app.tsx
) conflict preventing netzo framework integration_app.tsx
cannot be overwritten (can use _layout.tsx
)
Hola chicos, I contribute a lot to fresh, specifically around plugins. What sort of solution are you looking for here? I don't see an easy way of combing an |
Hola @deer! Thanks for your interest! I agree, there might be no natural way of combining plugin-injected and user-defined |
_app.tsx
cannot be overwritten (can use _layout.tsx
)_app
cannot be "overwritten"
_app
cannot be "overwritten"_app
cannot be overwritten"
Ok, it seems like the right solution is to dust off denoland/fresh#1568 and finally get that merged. I'll keep any discussions of implementation details there (or more likely in the new PR that I might open), but I guess this would solve your problem. |
Thanks for the pointer! Wasn't aware of denoland/fresh#1568, that covers not only this warning but many more! That's great news. Let's keep the discussion over there 👍🏼 |
Closing as netzo no longer auto-injects an |
During the migration of the company handbook to the Netzo framework, I faced challenges with the application layout. Despite having all the necessary files installed, including netzo.ts, .env, etc., none of the functionalities were working as expected. After thorough investigation, I identified the problem to be associated with conflicting middleware in the _app.ts file. This middleware was overriding all Netzo configurations. Upon removing the conflicting middleware, Netzo became operational, resolving the issues encountered during the migration process.
with
![Screenshot 2024-01-11 10 32 16 PM](https://github.com/netzo/netzo/assets/71981952/bc370757-00b9-4218-ac68-d3eb9adab26f)
_app.ts
without
![Screenshot 2024-01-11 10 34 43 PM](https://github.com/netzo/netzo/assets/71981952/b5bc9963-d260-4ebd-a35d-d9c7010a9213)
_app.tsx
The text was updated successfully, but these errors were encountered: