Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mhballa's avatar

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

0 likes
0 replies

Please or to participate in this conversation.