前端模版和样式路径优化
This commit is contained in:
parent
67e1098402
commit
790cff21a4
|
|
@ -14,8 +14,7 @@ return [
|
|||
*/
|
||||
|
||||
'paths' => [
|
||||
base_path('themes/acme-child'),
|
||||
base_path('themes/acme'),
|
||||
base_path('themes/default'),
|
||||
resource_path('views'),
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
<div>
|
||||
<a href="{{ shop_route('home.index') }}">Home</a>
|
||||
</div>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<h2>parent</h2>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<header>
|
||||
<div class="top">
|
||||
<div class=""></div>
|
||||
</div>
|
||||
</header>
|
||||
|
|
@ -4,12 +4,12 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document</title>
|
||||
|
||||
<title>首页</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('build/css/app.css') }}">
|
||||
@stack('header')
|
||||
</head>
|
||||
<body>
|
||||
@include('header')
|
||||
@include('layout.header')
|
||||
|
||||
@yield('content')
|
||||
@stack('footer')
|
||||
Loading…
Reference in New Issue