Skip to content
Advertisement

Tag: twitter-bootstrap

Why css and bootstrap is not loading in Laravel 5.3?

This is my route file… Route::group([‘middleware’ => [‘auth’]], function(){ Route::get(‘/profile/{username}’, ‘ProfileControllers@getProfile’); }); The “ProfileControllers” is this… namespace AppHttpControllers; use DB; use AppUser; use IlluminateHttpRequest; class ProfileControllers extends Controller { public function getProfile($username) { $user = DB::table(‘users’)->where(‘username’,’=’, $username)->get(); return view(‘web.profile’); } } And this is the view file… @extends(‘layout’) @section(‘content’) This is your profile @stop And The head of the Layout

Advertisement