Hi folks, I am following the github readme instructions to setup the volto repo in my localhost - https://github.com/plone/volto#volto-development
But after running that in localhost, the styles are not loading and the login function is also not working the ui looks like the html structure only ( i will attach a screenshot )
Pls help me to setup volto repo in my localhost so that i can contribute to volto repo.
Duplicate: See my comment summing up the solution offered by csanahuja:
In short: Wording adapted for developers on Windows using WSL or another VM:
Since you are on Windows you may use WSL or a VM. When accessing the VM/WSL from your Windows Browser this is actually a different machine. You have to set HOST to the IP the VM uses to expose itself to the Windows host.
To access Plone you have to use this IP instead of localhost in the Windows browser
IMPORTANT: Make sure you open a firewall in the VM if activated on port 3000, 3001
When accessing the frontend from another IP than localhost, you need to make the frontend listen to the local IP as well (not just localhost) by setting the HOST environment variable to the local IP MyVMIP of the server VM or a fully qualified domain name of this server VM, before or during startup of the frontent.
Start the frontend using:
HOST=MyVMIP make frontend-start
Other Approaches
You can also setup a nginx or other proxy setup properly you to fix access to the frontend, but this is beyond the scope of this answer.