Yeah I got this problem once too. The routing bundle outputs the routes in your browser on a plain white background, giving the user no options to navigate etc. after they register or login.

So how do you fix this? Read the last step of this article I wrote How to get URL Routes in your Javascript in Symfony 5+
It is a long article but it explains everything. See the note about the Last Step. I don’t want to repeat it here because I don’t think many will view this article anyways.
Leave a Reply