Skip to content
What is the .replit run command to have repl preview the index.html file (imported from GitHub)?
Profile icon

I am relatively new at this. Experimenting with importing my lesson from my GitHub repository.

I have imported my GitHub repo, which contains an index.html file, some other linked .html files and a myscript.js file.

I am asked by repl to configure the run button. I want the run button to preview the index.html file, but I don't know the proper command to launch the index.html file.

What do I put in the .replit file
language = "html"
run = "????"


You are viewing a single comment. View All
Profile icon

As the docs said you just need to leave run empty

language="html" run=""

make sure you are opening the repl directly and not a file e.g.