Answer the question
In order to leave comments, you need to log in
Why is the default route always loaded?
It was necessary to make it so that after clicking on any menu link, there was a transition to the desired page from then reload the page. Thus, I got not a SPA application, but in angular.
The problem is that in development mode, routing works as it should. But after I build and put this build on some host, it becomes impossible to navigate the site through the menu. The reason is that after clicking on any menu link, a redirect to the default route (/login) occurs.
live demo
Please help fix the routing.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question