-
I am serving the app in SSR, I get an error: I see I am having a challenge mocking |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
It can be mocked with just s dummy implementing the interface, but it's best to just use @ng-web-apis/universal: |
Beta Was this translation helpful? Give feedback.
-
@waterplea Ahh almost... I followed the instructions:
It builds successfully when using
Did I miss something? UPDATE: The |
Beta Was this translation helpful? Give feedback.
@waterplea Ahh almost...
I followed the instructions:
server.ts
:import '@ng-web-apis/universal/mocks';
app.server.module.ts
:UniversalModule
It builds successfully when using
dev:ssr
script but when I access the app in the browser I get an error: