0
Open Html page automatically when Browser opens
I make a simple application with react I want to open this page automatically on the browser when I open my browser Is there any way I do it?
4 Antworten
+ 2
react runs on node server, you can navigate your browser homepage to the address where you have placed your react app..
and if you are having it on your localhost then you need to run the npm start script in that folder
+ 2
browser can open a file but the js file should be included in at least in an html file to run it .
and then you can put the location of that html file as the browsers homepage setting
0
Sami Khan OK what about vanilla js code
0
OK thanks I find the option