166 questions
0
votes
0
answers
5
views
Angular19 with SSR, the page render component from router and with home component. Means always two component in one page
My Netflix clone project uses Angular19 with SSR,
the view always renders a component from Router and a home component. Means always two component on one page.
in my angular19 project, with the router-...
0
votes
1
answer
49
views
How to Deploy an Angular 19 SSR App on AWS Amplify?
I have built an Angular SSR app using Angular 19, and I'm trying to deploy it on AWS Amplify. Below is my setup and the challenges I'm facing:
Package.json
{
"name": "ssr-app",
...
2
votes
0
answers
34
views
How to pass request parameters to an Angular component in SSR (Angular 18) and view logs in the browser?
I am working with Angular SSR (Server-Side Rendering) in Angular 18, and I need to pass the request parameters (e.g., headers, protocol, etc.) to my component. I am able to log the request object in ...
0
votes
0
answers
62
views
Angular SSR does not include SEO on the page source
I've been doing some tests for a page where I'm trying to implement SEO, but my SEO tags seem to not be inserting into the Page Source only in the inspector which is already client side.
I've tried it ...
0
votes
0
answers
28
views
Angular SSR conversion : Unhandled Promise rejection: NotYetImplemented
In an Angular client-side rendered application conversion into sever side rendering (SSR), I am facing the issue below after serving the local Angular setup project:
Unhandled Promise rejection: ...
0
votes
1
answer
57
views
Whats the best approach to set LOCALE_ID in an i18n SSR Angular 19 app?
Whats the best approach to set LOCALE_ID in an i18n SSR Angular 19 app?
I can set it on the server (app.server.config.ts) by setting this DI token:
{
provide: LOCALE_ID,
useFactory: () => {
...
1
vote
1
answer
34
views
Integratin CalHeatMap into Anguar app with SSR
I try to integrate CalHeatMap
https://cal-heatmap.com/docs/getting-started/quickstart
into my app:
import { Component } from '@angular/core';
import { NgIconComponent, provideIcons } from '@ng-icons/...
1
vote
1
answer
92
views
How to Use window, document, location in angular SSR application
I have just created a simple Angular SSR application using Angular CLI: 18.2.12.
I am not using ngExpressEngine, but I am using @angular/platform-server
The application works fine with npm run build:...
0
votes
0
answers
33
views
Angular 19 ssr Domino sloppy.js with in strict mode
I am trying to update my angular version from 18 to 19.0.1
Domino library causing issue and angular not able to compile. I have domino-ext in my server.ts
My server.ts
import 'zone.js/node';
import ...
0
votes
1
answer
38
views
Which one is @angular-devkit/build-angular:application equivalent in @angular-builders/custom-webpack
We have requirement to hide environment variables which are comes together in build files in angular application.
We found solution using @angular-builders/custom-webpack and dotenv libraries when ...
5
votes
2
answers
327
views
How to access provider value in Angular 19
Using Angular SSR, I would like to access a server-side value in my app.component.
Here is my server-side route:
app.get('**', (req, res, next) => {
const { protocol, originalUrl, baseUrl, ...
2
votes
2
answers
97
views
Angular Guard Issue with Server-Side Rendering (SSR)
I'm working on an Angular 17 project with login and session functionality. Everything is working well except for the guard. Every time I refresh the page, the screen briefly blinks back to the login ...
1
vote
1
answer
82
views
Angular 18 component does not work as expected with blobs
I have an angular 18 project which pulls the image data from an API to dispaly's it on screen. Can someone help me understand this behaviour?
The app throws an exception 'document is not defined' with ...
1
vote
1
answer
108
views
Angular flickering issue
I’m using Angular 19 with SSR, and I have a dropdown that momentarily displays the wrong value (e.g., the first option or a default) before updating to the correct one. I need the dropdown to show the ...
0
votes
0
answers
74
views
Angular 17 SSR issue wen serving with nodejs on my local
I am trying to implement SSR for my Angular 17 app which migrated from Angular 14 recently. When building for SSR I can see it's building fine for the browser and server both but when trying to serve ...