I am using VS code for react. I have the Live Server extension installed, and whenever I try to go live with VS code it shows me a listing directory with all of my folders and files in the browser instead of running my app. Why does it do this?
You need to provide 'index.html' file in exposed directory. It has to be named exactly like this.('index.html')
More info: https://webmasters.stackexchange.com/questions/30234/the-right-way-of-using-index-html