Hi, I followed the instructions on the Vite guide from the docs, specially the extending context part [1].
Some how after doing that, the extra things im passing down to the getLoadContext function are not shwoing up on the loaders context, please see screen for details:
functions/[[path]].tswith customgetLoadContextgetLoadContextwith extendedcontentobject containing all the content api operations (the thing i want to inject)- a
loaderprinting the context & showing up on the console with out thecontentprop
Could anyone help here please ?
1
https://remix.run/docs/en/main/guides/vite#augmenting-load-context