Skip to main content

All Questions

Tagged with
0 votes
1 answer
16 views

Angular 17 <router-outlet> works wrong

So i am building projects in angular and i found out that in devtools i can see my router-outlet and components are generated outside of it like that: enter image description here app.routes `import { ...
Amadeusz Kobos's user avatar
0 votes
0 answers
20 views

how to load lazily loaded route in mat-sidebar-content?

I've a structure in Angular and we are following module based structure. Not standalone components. SideBar Component <mat-sidebar-container> <mat-sidebar> /* Sidebar Menu Items */ </...
Alok Agase's user avatar
0 votes
1 answer
51 views

Issue with app.MapWhen() in .NET Core routing for multiple Angular projects

I have a technical issue with the app.MapWhen() method in .NET Core for handling routes in my application. Context I have two Angular v15 projects serving as front-ends for my .NET Core 6 application. ...
Antoine a.k.a Zesso Renoux's user avatar
1 vote
1 answer
35 views

Create dynamic paths in my routing - Angular / PrimeNg version

I need to create several paths dynamically in my routing since the values ​​will be added to the sidebars through an endpoint. By creating a new item for the sidebar, the user will be specifying the ...
Bet's user avatar
  • 23
0 votes
1 answer
150 views

Angular 18 falsely throwing a routing error, despite the routes previously working fine

Background: I'm integrating a login component that includes Google authentication. Upon successful authentication, user information is obtained, a token is generated, and then sent to the backend for ...
Hamzah Alkhateeb's user avatar
0 votes
0 answers
34 views

Angular universal routing issue

i have problem with Angular Universal when i load homepage http://localhost:85 page loads but in view source i get <body class="h-100 v-robots"> <app-core class="h-100"...
somczyq's user avatar
1 vote
1 answer
63 views

Angular 17+ Standalone Modules

I've used Angular before, but an earlier version. Can someone educate me on why my routes for my navbar doesn't work with my Contact Page. Here is the link... https://github.com/Logan-0/ngPersonal My ...
BabyLogan's user avatar
1 vote
0 answers
26 views

Is there any way we can use lazy loading in the routing module of the file in which we are using <router-outlet>?

I am making a page in angular v12 and i am using router outlet in one of my component so that it can be reused. There is a property (output emitter) of router-outlet known as activate that get ...
Pavnesh Silori's user avatar
0 votes
0 answers
31 views

URL reload leading to 404

I'm developing a PWA and i'm experiencing a strange issue: my components load perfectly but if i try to reload it, i end up getting an error message. I need to first go back to a URL without component....
Charles Hergott's user avatar
1 vote
1 answer
54 views

How to make protected route work in node.js

I'm working on a MEAN stack application. Where the user logs in using google oauth so i created a google oauth middleware as a function and linked it in server.js like app.use('/protected',...
Gowri Shankar's user avatar
1 vote
1 answer
42 views

Angular URL has strange quote in the path

I have this strange quote that shows in the path for my angular app: If I enter http://example.com/mywebsite this is what I get as the route http://example.com/mywebsite/" /auth-page There is no ...
Chris's user avatar
  • 108
2 votes
1 answer
494 views

Assets folder does load on Angular 18

I was not able to load my images from the assets folder, I was using the Angular 18, after several atempts I was able to solve it. Now on Angular 18 your assets folder needs to be on the path: public/ ...
Ismael Nunes's user avatar
2 votes
1 answer
39 views

Refresh the page in Angular or manually entering the desired path, redirects to the home page

I am using Angular 11. My project was working fine and suddenly I faced an issue: When I use routerlink to address a specific path, it redirects correctly to that path, but when I try to access this ...
Mouna's user avatar
  • 51
1 vote
1 answer
27 views

Angular Loading time on menu click

When I click on the menu item it takes too much time to load This is my app-routing-modules.ts const routes: Routes = [ { path: '', children: [ { path: 'login', ...
Programming World's user avatar
1 vote
0 answers
24 views

Angular 14 | app-root empty | Deploy on vercel

I deployed my Angular project to Vercel and everything seemed successful, "no errors reported". However, none of the components are loading. As I'm new to Angular, I'm not sure how to ...
MrLucky's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
185