coreui-free-vue-laravel-admin-template icon indicating copy to clipboard operation
coreui-free-vue-laravel-admin-template copied to clipboard

Hot reload results in blank screen

Open basiteaal opened this issue 5 years ago • 3 comments

Hi!

We are trying to run the environment on a local machine including hot reload. When starting npm run hot the Laravel Mix results in a succesfull build however we only get a blank page. (Title of the page is shown in browser but no visible content).

Am I doing something wrong?

Thanks a lot!

basiteaal avatar Jan 29 '20 11:01 basiteaal

if you care about HMR then maybe this info will be useful. But I prefer to use php artisan serve and npm run watch - it works well

rakieta2015 avatar Jan 29 '20 14:01 rakieta2015

Hi @rakieta2015 ,

Thanks for your answer. However I don't really get any further with this. The repo suggests HMR should be able to run but it doesn't.

So doesn't make that a bug?

Besides it speeds up development so it's preferable?

basiteaal avatar Jan 29 '20 18:01 basiteaal

I made a small fix, and now the screen shouldn't be blank. But I don't know did this fix fully solves this problem. On my side, I can see that the connection to laravel's backend is still not working. Probably the application requires some additional configuration.

Did this fix bring us closer to the goal?

rakieta2015 avatar Jan 30 '20 13:01 rakieta2015