Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit 3151508

Browse files
committed
Add custom stylesheet and script link on dashboard
1 parent 1539521 commit 3151508

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

resources/views/layouts/dashboard.blade.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@
2929
@endif
3030
@stack('css')
3131
<link rel="stylesheet" type="text/css" href="{{ mix('/css/shopper.css', 'shopper') }}">
32+
33+
@if(!empty(config('shopper.resources.stylesheets')))
34+
<!-- Additional CSS -->
35+
@foreach(config('shopper.resources.stylesheets') as $css)
36+
<link rel="stylesheet" type="text/css" href="{{ asset($css) }}">
37+
@endforeach
38+
@endif
39+
3240
</head>
3341
<body>
3442

@@ -76,6 +84,12 @@
7684
@endif
7785
<script src="{{ mix('/js/shopper.js','shopper')}}" type="text/javascript"></script>
7886
@stack('scripts')
87+
@if(!empty(config('shopper.resources.scripts')))
88+
<!-- Additional Javascript -->
89+
@foreach(config('shopper.resources.scripts') as $js)
90+
<script type="text/javascript" src="{{ asset($js) }}"></script>
91+
@endforeach
92+
@endif
7993

8094
</body>
8195
</html>

0 commit comments

Comments
 (0)