0

I just freshly installed laravel with inertia vite. set local server in apache2 as domain test.portfolio.com. so there is the catch vite dev is running and with all networking setup test.portfolio.com is also pointing at laravel-app/public and everything is working well. but react app thats suppose to work shows blank page when i do npm run dev. but will load properly when i build the application.

2
  • It'd be useful to see the browser console to know exactly what error occurs. Is it a network error or a problem with your application? Commented Apr 28 at 11:19
  • its solved it. server:{ host:'0.0.0.0', hmr:{ host:"test.portfolio.com", } } hmr picked up the server after that according to apache server Commented Apr 29 at 17:13

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.