I want to remove #, examble: http://localhost:4200/#/login
--> http://localhost:4200/login
help me, thanks
How to remove # from the URL routes
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Hi.
This consists of using hashroute. If you don't want to use hashrouter, from the file in app.module.ts remove the this code.
Regards!
This consists of using hashroute. If you don't want to use hashrouter, from the file in app.module.ts remove the this code.
Code: Select all
{provide: LocationStrategy, useClass: HashLocationStrategy}
Aliriza Gucal
PrimeNG Core Developer
PrimeNG Core Developer
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests