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

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 = "????"

Reference-> https://docs.repl.it/repls/dot-replit

You are viewing a single comment. View All
Profile icon
jgbernalp

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.
Do
https://repl.it/@you/html-intro
Don't
https://repl.it/@you/html-intro#index.html