All Questions
Tagged with angular16 angular-routing
7 questions
1
vote
0
answers
357
views
Angular 16 - Router outlet activate event
We migrated our angular application from angular v13 to v16. The component's lifecycle events were working fine in v13, but having an issue in v16 when routing from one component to another.
In our ...
1
vote
0
answers
31
views
Angular sub/child URL's not found only base URL found after deployment to Linux server
Only base url is found no sub/child url is working. I make build locally using ng build --configuration=dev command
Here is my docker file:
# Use an official Node.js runtime as the base image
FROM ...
1
vote
0
answers
75
views
404 Not Found after refreshing the page using <base href="/"> on tomcat server
I have to use PathLocationStrategy in my application. Using HashLocationStrategy is not possible. I have set in my index.html file. But still when I try to refresh the page I am getting HTTP 404 Not ...
0
votes
0
answers
62
views
Angular child routing problem with styles
I am working with in a project with a backend and front-end in Angular. I recieve the blog articles from the server, correctly but with the reload, angular not find a css stylessheet
loadind ...
-1
votes
1
answer
688
views
Angular 16 Resolvers - How to handle redirection to child
I'm just really looking for some general advice on best practice here as it's the first time I've had to use resolvers.
So the current flow of my application...
App initialisation function to check ...
2
votes
1
answer
2k
views
How to access Angular 16 routes independently for standalone components
Update
The problem seems to be appearing with Angular 16 standalone components since there is no ngModule. To be specific, when the i run ng build the files are generated. Now i run the index.html ...
7
votes
2
answers
6k
views
routerLink change in Angular 16
When using angular < 16, I used to have this routes configuration:
{
path: Section.Security,
canActivate: [AuthGuard, AccessGuard, AdminGuard],
children: [
{
path: '',
...