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"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ config('app.name', 'Pedidos del MPS') }}</title> <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="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> </head>
<body> <body>
<section class="section"> <section class="section">
@ -29,6 +29,6 @@
</form> </form>
</div> </div>
</section> </section>
<script src="{{ asset('js/app.js') }}" defer></script> <script src="{{ mix('js/app.js') }}" defer></script>
</body> </body>
</html> </html>

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ config('app.name', 'Pedidos del MPS') }}</title> <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="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> <script src="https://kit.fontawesome.com/9235d1c676.js" crossorigin="anonymous"></script>
</head> </head>
<body> <body>
@ -31,7 +31,7 @@
</form> </form>
</div> </div>
</section> </section>
<script src="{{ asset('js/app.js') }}" defer></script> <script src="{{ mix('js/app.js') }}" defer></script>
</body> </body>
</html> </html>
<script> <script>

View File

@ -12,7 +12,7 @@
<!-- Fonts --> <!-- Fonts -->
<script src="https://kit.fontawesome.com/9235d1c676.js" crossorigin="anonymous"></script> <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') @yield('stylesheets')
@ -36,7 +36,7 @@
</main> </main>
</div> </div>
<!-- Scripts --> <!-- Scripts -->
<script src="{{ asset('js/app.js') }}" defer></script> <script src="{{ mix('js/app.js') }}" defer></script>
@yield('scripts') @yield('scripts')
</body> </body>
</html> </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') mix.js('resources/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css'); .sass('resources/sass/app.scss', 'public/css')
.version();