Skip to content

Commit 371dd10

Browse files
committed
Link to Laravel mix urls for JS and CSS
1 parent 3c5478a commit 371dd10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/welcome.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!-- Fonts -->
88
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet">
99
<!-- Main CSS -->
10-
<link href="/css/app.css" rel="stylesheet">
10+
<link type="text/css" rel="stylesheet" href="{{ mix('css/app.css') }}">
1111
</head>
1212
<body class="antialiased">
1313
<div class="relative flex justify-center min-h-screen bg-gray-100 items-top dark:bg-gray-900 sm:items-center sm:pt-0">
@@ -33,6 +33,6 @@
3333
<div class="text-white bg-black">White text</div>
3434
</div>
3535

36-
<script src="/js/app.js"></script>
36+
<script src="{{ mix('js/app.js') }}"></script>
3737
</body>
3838
</html>

0 commit comments

Comments
 (0)