Need help with Vite + DDEV in WSL2

,

Hello everyone,

For a week, I’ve been trying to get Vite with HMR working via DDEV in WSL2. No matter what I try, I just can’t get the development server with HMR to work properly and reach it from the browser.

Who has experience with DDEV + Vite on WSL2 and can help me?

Could someone explain it using the following repo?

https://github.com/lukaskleinschmidt/vite-starterkit

Any help is welcome, huge thanks in advance! :folded_hands:

Hi, i don’t have a direct answer but there is a recent video about the laravel-vite-plugin on youtube that may help.

Good luck!