Agregado versionado al build

This commit is contained in:
Rodrigo 2023-09-05 18:47:09 -03:00
parent 71b4c1c38d
commit e1aa6e2f68
4 changed files with 8 additions and 7 deletions

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ config('app.name', 'Pedidos del MPS') }}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
<link rel="stylesheet" href="{{ mix('css/app.css') }}">
</head>
<body>
<section class="section">
@ -29,6 +29,6 @@
</form>
</div>
</section>
<script src="{{ asset('js/app.js') }}" defer></script>
<script src="{{ mix('js/app.js') }}" defer></script>
</body>
</html>

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ config('app.name', 'Pedidos del MPS') }}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
<link rel="stylesheet" href="{{ mix('css/app.css') }}">
<script src="https://kit.fontawesome.com/9235d1c676.js" crossorigin="anonymous"></script>
</head>
<body>
@ -31,7 +31,7 @@
</form>
</div>
</section>
<script src="{{ asset('js/app.js') }}" defer></script>
<script src="{{ mix('js/app.js') }}" defer></script>
</body>
</html>
<script>

View File

@ -12,7 +12,7 @@
<!-- Fonts -->
<script src="https://kit.fontawesome.com/9235d1c676.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
<link rel="stylesheet" href="{{ mix('css/app.css') }}">
@yield('stylesheets')
@ -36,7 +36,7 @@
</main>
</div>
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}" defer></script>
<script src="{{ mix('js/app.js') }}" defer></script>
@yield('scripts')
</body>
</html>

3
webpack.mix.js vendored
View File

@ -12,4 +12,5 @@ const mix = require('laravel-mix');
*/
mix.js('resources/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css');
.sass('resources/sass/app.scss', 'public/css')
.version();