Fix loading css of admin page

This commit is contained in:
Pig Fang 2018-08-22 10:26:05 +08:00
parent a790d21ee8
commit 36f9fee280
2 changed files with 5 additions and 1 deletions

View File

@ -28,6 +28,10 @@ $(document).ready(() => {
(() => {
const list = [
{
path: 'admin',
styl: () => import('../stylus/admin.styl')
},
{
path: 'auth',
styl: () => import('../stylus/auth.styl')

View File

@ -9,7 +9,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="csrf-token" content="{{ csrf_token() }}">
<!-- App Styles -->
@include('common.dependencies.style', ['module' => 'admin'])
@include('common.dependencies.style')
@yield('style')
</head>