我用过:用于laravel 5的Laravel API /脚手架/ CRUD发电机, 我生成1个CRUD,但没有工作。
这是错误:
ErrorException in FileViewFinder.php line 140:
View [app] not found. (View: C:\wamp\www\laravel\resources\views\istvans\index.blade.php)
有什么问题?
答案 0 :(得分:1)
创建一个空app.blade.php
并将其放入:
<html>
<head>
@section('head')
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
@show
</head>
<body>
<div class="container">
@yield('content')
</div>
@section('footer_scripts')
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
@show
</body>
</html>