You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your work and solution of implementing Vite into WordPress. Something I've been wanting do to for a while. I am using your repo as reference to my own setup which is basically a hybrid between Roots Bedrock and Roots Sage. This works fine, although I have a question. With Laravel Mix we used to access our dev sites through http://localhost:3000. In the current setup, this results in a 404. Using Valet we get it to work on the .test domain and this works fine.
However, would it be possible to also proxy through http://localhost:3000? I've seen your comments in vite.config.js about it resulting in 404 so the behaviour is expected, but it would be helpful to also proxy the HMR through the localhost domain.
Any way to achieve this? Thanks a lot!
The text was updated successfully, but these errors were encountered:
Hi there,
Thanks for your work and solution of implementing Vite into WordPress. Something I've been wanting do to for a while. I am using your repo as reference to my own setup which is basically a hybrid between Roots Bedrock and Roots Sage. This works fine, although I have a question. With Laravel Mix we used to access our dev sites through
http://localhost:3000
. In the current setup, this results in a 404. Using Valet we get it to work on the .test domain and this works fine.However, would it be possible to also proxy through
http://localhost:3000
? I've seen your comments invite.config.js
about it resulting in 404 so the behaviour is expected, but it would be helpful to also proxy the HMR through the localhost domain.Any way to achieve this? Thanks a lot!
The text was updated successfully, but these errors were encountered: