Laravel index route issue when using for a subsection in another fw (external public dir)
问题 I'm using a Laravel app with an external public directory, e.g. root/Laravel , and root/html/public . I need this app to load from a require on a php file ( root/html/this-section.php ) that already has another framework loading it, hence that other fw has its own head, and body tag. This app will load between the header and footer of that file. When I set up the routes, i notice that both of the following routes work, but i get different results. Route::get('/', 'HomeController@index');