Skip to content

Commit

Permalink
Change mix to asset to avoid copy boilerplate webpack.mix.js into lar…
Browse files Browse the repository at this point in the history
…avle root folder
  • Loading branch information
Sebastien HEYD committed Feb 2, 2018
1 parent 92fc69b commit db45e58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/resources/views/vendor/boilerplate/auth/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ $title }} | {{ config('app.name') }}</title>
<link rel="stylesheet" href="{{ mix('css/boilerplate.css') }}">
<link rel="stylesheet" href="{{ asset('css/boilerplate.css') }}">
@stack('css')
</head>
<body class="{{ $bodyClass or 'login-page'}}">
@yield('content')
<script src="{{ mix('js/boilerplate.js') }}"></script>
<script src="{{ asset('js/boilerplate.js') }}"></script>
@stack('js')
</body>
</html>
4 changes: 2 additions & 2 deletions src/resources/views/vendor/boilerplate/layout/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ $title }} | {{ config('app.name') }}</title>
<link rel="stylesheet" href="{{ mix('css/boilerplate.css') }}">
<link rel="stylesheet" href="{{ asset('css/boilerplate.css') }}">
@stack('css')
</head>
<body class="sidebar-mini skin-blue">
Expand All @@ -23,7 +23,7 @@
</div>
@include('boilerplate::layout.footer')
</div>
<script src="{{ mix('/js/boilerplate.js') }}"></script>
<script src="{{ asset('/js/boilerplate.js') }}"></script>
<script>
$(function() {
bootbox.setLocale("{{ App::getLocale() }}");
Expand Down

0 comments on commit db45e58

Please sign in to comment.