Commit 15754e5b authored by Dominik Hebeler's avatar Dominik Hebeler

JavaScript nun auch Inline angewendet.

parent d7c1ab6c
......@@ -326,7 +326,11 @@
</li>
@endif
</ul>
<script src="{{ mix('/js/scriptStartPage.js') }}" defer></script>
<script type="text/javascript">
@php
echo file_get_contents(public_path() . mix('/js/scriptStartPage.js'));
@endphp
</script>
@endsection
@section('optionalContent')
......
......@@ -20,8 +20,16 @@
@endphp
</style>
<link id="theme" type="text/css" rel="stylesheet" href="/css/theme.css.php" />
<script src="{{ mix('js/scriptSubPages.js') }}" defer></script>
<script src="{{ mix('js/lib.js') }}" defer></script>
<script type="text/javascript">
@php
echo file_get_contents(public_path() . mix('js/scriptSubPages.js'));
@endphp
</script>
<script type="text/javascript">
@php
echo file_get_contents(public_path() . mix('js/lib.js'));
@endphp
</script>
@if (isset($css))
@if(is_array($css))
@foreach($css as $el)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment