PrimeNG Template routes all start with #

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
rushui
Posts: 2
Joined: 07 Feb 2021, 21:44

07 Feb 2021, 21:57

Hi

The routing for the normal angular projects usually starts after its base href. But the routes for all the primeng template projects start with /basehref/#/

I have searched all over the code but couldn't figure out how was /#/ configured into the routing.

Is there any documentation on this? What's reasoning behind this?

Thanks

Rushui

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

15 Feb 2021, 14:45

Hi,
All our projects starting with /#/ is related to our server-side. Our templates are normal angular projects. You can use how you want.

rushui
Posts: 2
Joined: 07 Feb 2021, 21:44

04 Feb 2022, 04:46

* All our projects starting with /#/ is related to our server-side

That's incorrect. I see the same /#/ routes when I run your template locally.

cetincakiroglu
Posts: 130
Joined: 17 Dec 2021, 09:33

07 Feb 2022, 13:49

rushui wrote:
04 Feb 2022, 04:46
* All our projects starting with /#/ is related to our server-side

That's incorrect. I see the same /#/ routes when I run your template locally.
Hi,

This is Angular specific case, you can change routing strategies in Angular in the way you wanted.
For more information about the routing in Angular, please visit official Angular docs https://angular.io/guide/router

Regards.

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests