Ref https://github.com/webstudio-is/webstudio/issues/2532 Here added generation of server modules with resource loaders. These loaders are invoked in remix loader and result is passed to page component. Check fixtures and tests.