mercredi 21 mars 2018

make angular routes match the URI of the page with Laravel

I'm having a problem with using laravel and angular spa , cause when I reload the page laravel redirect to 404 , what I'm trying to do is pass the URI of the page from laravel to angular and make angular navigate to that route directly .

for example if I enter the page http://www.app.dev/123 (there is no '123' route in laravel application (routes/web.php) )

I want angular to navigate to route '/123' (the route in angular app is for example '/id' )

Thanks you very much for helping me .



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2GQndQ6
via IFTTT

Aucun commentaire:

Enregistrer un commentaire