Jun 29, 2025
0
Level 1
Problem with importing image using Vite
In laracast 30 day to learn laravel Day 27 , at 3:59 the code is: src = "{{ Vite::asset('resources/images/logo.svg') }}" I then run npm run dev , it working and used @vite(['resources/js/app.js]) but nothing in the browser , no logo. if I used the public way , it work but not the Vite , i want to know why
Please or to participate in this conversation.