Open mardianto opened 7 years ago
paste to resources/views/layouts
if you've no route.php
, try find routes/web.php
and paste this inside it:
Route::get('bootstrap/{playground?}',function($playground = 'readme'){
$validator = Validator::make(Request::all(), [
'title' => 'required|unique:posts|max:255',
'body' => 'required',
]);
// Uncomment below code to display template with no error banner
// return view('layouts.bootstrap.playground.'.$playground);
return view('layouts.bootstrap.playground.'.$playground)->withErrors($validator);
});
and then visit {your-url}/bootstrap
u can show view this demo? or youtube . css & js not run? route.php and laravelbootstrapserviceprovider.php ? where must paste?