below is the error which i am getting
NG02801: Angular detected that HttpClient
is not configured to use fetch
APIs. It’s strongly
recommended to enable fetch
for applications that use Server-Side Rendering for better
performance and compatibility. To enable fetch
, add the withFetch()
to the
provideHttpClient()` call at the root of the application.
and solution for the above problem i received is
provideHttpClient(withFetch()) in your app.config.ts.
but i am using angular 18 and don’t have app.config.ts file instead having app.module.ts file
so what should i do
1