我是php的新手。
我即将登陆页面。每个文件都在文件夹中。 Idk为什么我会得到这样的错误: enter image description here这是我的代码:
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="csrf-token" content="{!! csrf_token() !!}">
<title>Ortwo School Management System</title>
<link href="{{ asset('templates/admin/css/bootstrap.min.css') }}" rel="stylesheet">
<link href="{{ asset('templates/admin/font-awesome/css/font-awesome.css') }}" rel="stylesheet">
<link href="{{ asset('templates/admin/css/plugins/iCheck/custom.css') }}" rel="stylesheet">
<link href="{{ asset('templates/admin/css/animate.css') }}" rel="stylesheet">
<link href="{{ asset('templates/admin/css/style.css') }}" rel="stylesheet">
<link href="{{ asset('templates/admin/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css') }}" rel="stylesheet">
<link href="{{ asset('assets/plugins/formvalidation/dist/css/formValidation.css') }}" rel='stylesheet' type='text/css' />
<link href="{{ asset('templates/admin/css/plugins/toastr/toastr.min.css') }}" rel="stylesheet">
<link href="{{ asset('assets/css/sweetalert.css') }}" rel="stylesheet">
@section("css")
@show
<script src="{{ asset('templates/admin/js/jquery-2.1.1.js') }}">
</script>
<script src="{{ asset('templates/admin/js/bootstrap.min.js') }}">
</script>
<script src="{{
asset('templates/admin/js/plugins/metisMenu/jquery.metisMenu.js') }}">
</script>
<script src="{{
asset('templates/admin/js/plugins/slimscroll/jquery.slimscroll.min.js')
}}"></script>
<!-- Custom and plugin javascript -->
<script src="{{ asset('templates/admin/js/inspinia.js') }}"></script>
<script src="{{ asset('templates/admin/js/plugins/pace/pace.min.js')
}}"></script>
<script src="{{ asset('templates/admin/js/plugins/wow/wow.min.js') }}">
</script>
有人帮帮我..
无论如何,谢谢
答案 0 :(得分:0)
您还没有执行代码,您刚刚在浏览器中打开了一个刀片模板文件(请参阅带有&#39;文件&#39;前缀的网址)。您应该通过应用程序中的routes / web.php文件中定义的路由URL打开页面。