In case anyone stumbled into this issue, this is the solution i found
public function boot()
{
# initiate package
$this->package('biztory/node', 'biztory-node');
# load the routes when the app is booted (core routes.php is booted)
$this->app->booted(function () {
# include routing
include __DIR__.'/../../routes.php';
});
}
how do you do it in laravel 5.4? because in 5.4 you have separate api.routes and web.routes?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community