Skip to content

Commit

Permalink
Fixed vite asset url
Browse files Browse the repository at this point in the history
  • Loading branch information
faab007nl committed Nov 9, 2023
1 parent a827fde commit 85d2332
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/views/pages/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</div>
<div class="col-auto">
<div class="image-stack">
{{-- <img src="{{ \Illuminate\Support\Facades\Vite::asset('resource/images/discord_browser.png') }}" alt="" class="browser-img">--}}
{{-- <img src="{{ \Illuminate\Support\Facades\Vite::asset('resource/images/update_inventory.png') }}" alt="" class="inventory-img">--}}
{{-- <img src="{{ \Illuminate\Support\Facades\Vite::asset('resources/images/discord_browser.png') }}" alt="" class="browser-img">--}}
{{-- <img src="{{ \Illuminate\Support\Facades\Vite::asset('resources/images/update_inventory.png') }}" alt="" class="inventory-img">--}}
</div>
</div>
</div>
Expand Down
5 changes: 4 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import laravel from 'laravel-vite-plugin';
export default defineConfig({
plugins: [
laravel({
input: ['resources/scss/app.scss', 'resources/js/app.js'],
input: [
'resources/scss/app.scss',
'resources/js/app.js'
],
refresh: true,
}),
],
Expand Down

0 comments on commit 85d2332

Please sign in to comment.