lundi 7 novembre 2016

Route angular 2 and laravel 5.3 errors

I build a laravel 5.3 project and i'm inserting angular 2 to manage the front-end. I had several modules, e.g. companies. The route /companies load a page with all companies ( companies index ) => localhost:8000/companies ...

In this view, I load the app.component and start the angular 2 to routing a company single page in companies.blade.php, It loads everything Ok and works, but appear a error:

EXCEPTION: Uncaught (in promise): Error: Cannot match any routes: 'companies'

And disappear the laravel route, staying only: localhost:8000.(I think because loads angular 2 routing )

How can I proceed? obs: Sorry my english



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire