前端模版和样式路径优化

This commit is contained in:
pushuo 2022-06-20 16:43:26 +08:00
parent 67e1098402
commit 790cff21a4
9 changed files with 9 additions and 9 deletions

View File

@ -14,8 +14,7 @@ return [
*/ */
'paths' => [ 'paths' => [
base_path('themes/acme-child'), base_path('themes/default'),
base_path('themes/acme'),
resource_path('views'), resource_path('views'),
], ],

0
resources/beike/shop/default/app.scss vendored Normal file
View File

View File

@ -1,3 +0,0 @@
<div>
<a href="{{ shop_route('home.index') }}">Home</a>
</div>

View File

@ -1 +0,0 @@
<h2>parent</h2>

View File

@ -0,0 +1,5 @@
<header>
<div class="top">
<div class=""></div>
</div>
</header>

View File

@ -4,12 +4,12 @@
<meta charset="UTF-8"> <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 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"> <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') @stack('header')
</head> </head>
<body> <body>
@include('header') @include('layout.header')
@yield('content') @yield('content')
@stack('footer') @stack('footer')