Rename mix_public() to public_mix() for consistency with public_asset()
This commit is contained in:
parent
09f3e3cfdf
commit
e62e4a865d
@ -167,8 +167,8 @@ if (!function_exists('public_asset')) {
|
||||
/*
|
||||
* Call mix() and then prepend the proper public URL
|
||||
*/
|
||||
if (!function_exists('mix_public')) {
|
||||
function mix_public($path, array $parameters = [])
|
||||
if (!function_exists('public_mix')) {
|
||||
function public_mix($path, array $parameters = [])
|
||||
{
|
||||
try {
|
||||
$path = mix($path);
|
||||
|
@ -21,9 +21,9 @@
|
||||
<link href='https://fonts.googleapis.com/css?family=Muli:400,300' rel='stylesheet' type='text/css'/>
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700,300" rel="stylesheet" type="text/css"/>
|
||||
|
||||
<link rel="stylesheet" href="{{ mix_public('/assets/global/css/vendor.css') }}"/>
|
||||
<link rel="stylesheet" href="{{ mix_public('/assets/admin/css/vendor.css') }}"/>
|
||||
<link rel="stylesheet" href="{{ mix_public('/assets/admin/css/admin.css') }}"/>
|
||||
<link rel="stylesheet" href="{{ public_mix('/assets/global/css/vendor.css') }}"/>
|
||||
<link rel="stylesheet" href="{{ public_mix('/assets/admin/css/vendor.css') }}"/>
|
||||
<link rel="stylesheet" href="{{ public_mix('/assets/admin/css/admin.css') }}"/>
|
||||
|
||||
<style type="text/css">
|
||||
@yield('css')
|
||||
@ -91,8 +91,8 @@
|
||||
</body>
|
||||
|
||||
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
|
||||
<script defer src="{{ mix_public('/assets/admin/js/vendor.js') }}"></script>
|
||||
<script defer src="{{ mix_public('/assets/admin/js/app.js') }}"></script>
|
||||
<script defer src="{{ public_mix('/assets/admin/js/vendor.js') }}"></script>
|
||||
<script defer src="{{ public_mix('/assets/admin/js/app.js') }}"></script>
|
||||
|
||||
<script>
|
||||
/**
|
||||
|
@ -20,7 +20,7 @@
|
||||
<link href="{{ public_asset('/assets/frontend/css/styles.css') }}" rel="stylesheet"/>
|
||||
|
||||
{{-- Start of the required files in the head block --}}
|
||||
<link href="{{ mix_public('/assets/global/css/vendor.css') }}" rel="stylesheet"/>
|
||||
<link href="{{ public_mix('/assets/global/css/vendor.css') }}" rel="stylesheet"/>
|
||||
<style type="text/css">
|
||||
@yield('css')
|
||||
</style>
|
||||
@ -84,8 +84,8 @@
|
||||
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
|
||||
|
||||
{{-- Start of the required tags block. Don't remove these or things will break!! --}}
|
||||
<script src="{{ mix_public('/assets/global/js/vendor.js') }}"></script>
|
||||
<script src="{{ mix_public('/assets/frontend/js/app.js') }}"></script>
|
||||
<script src="{{ public_mix('/assets/global/js/vendor.js') }}"></script>
|
||||
<script src="{{ public_mix('/assets/frontend/js/app.js') }}"></script>
|
||||
@yield('scripts')
|
||||
|
||||
{{--
|
||||
|
Loading…
Reference in New Issue
Block a user