Fixed mix manifest (prepare for Vite)
This commit is contained in:
parent
b757d7df9d
commit
f2bf1513aa
6 changed files with 8 additions and 8 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 042cb97947ebd020a869556861e75f81e8b34ee9
|
||||
Subproject commit 91a0e8bfca462101334eb8225927a799f1ac1e05
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
@include('back::modules.scriptConstants')
|
||||
@include('back::modules.scriptRoutes')
|
||||
@stack('scriptsConstants')
|
||||
<script nonce="{{ $nonce }}" src="{{ mix('build/back/js/bo.js') }}"></script>
|
||||
<script nonce="{{ $nonce }}" src="{{ mix('back/js/bo.js', 'build') }}"></script>
|
||||
@stack('scripts')
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<title>@hasSection('title')@yield('title') @else {{ config('app.name') }} @endif</title>
|
||||
@preload('mix-manifest.json')
|
||||
@preload('build/mix-manifest.json')
|
||||
|
||||
<!-- Favicon -->
|
||||
{{-- GENERER favicon avec un outil https://realfavicongenerator.net/ --}}
|
||||
|
|
@ -19,8 +19,8 @@
|
|||
|
||||
@include('back::modules.breadcrumb.breadcrumb-head')
|
||||
|
||||
<link rel="stylesheet" href="{{ mix('build/back/css/bo.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('build/css/v-extract.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('back/css/bo.css', 'build') }}">
|
||||
<link rel="stylesheet" href="{{ mix('css/v-extract.css', 'build') }}">
|
||||
@if(config('app.debug'))
|
||||
<script nonce="{{ $nonce }}">window.vueDebug = true;</script>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<title>@yield('title')</title>
|
||||
|
||||
|
||||
<link href="{{ mix('build/theme/css/app.css') }}" rel="stylesheet">
|
||||
<link href="{{ mix('theme/css/app.css', 'build') }}" rel="stylesheet">
|
||||
@stack('scripts')
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
<style>.tracking-wider{letter-spacing:.05em}</style>
|
||||
|
||||
<link href="{{ mix('build/theme/css/app.css') }}" rel="stylesheet">
|
||||
<link href="{{ mix('theme/css/app.css', 'build') }}" rel="stylesheet">
|
||||
@stack('scripts')
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
2
webpack.mix.js
vendored
2
webpack.mix.js
vendored
|
|
@ -15,7 +15,7 @@ const polyfill = {
|
|||
targets: "last 3 version, not dead, >0.3%",
|
||||
};
|
||||
|
||||
mix.setPublicPath('public/build');
|
||||
mix.setPublicPath(path.normalize('public/build'));
|
||||
mix.setResourceRoot('/build');
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue