What is the .replit run command to have repl preview the index.html file (imported from GitHub)?
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
natasxa
same question...
dubalvlad
- Download project
- Create new perl
- Load nessary folders and files into new perl
As the docs said you just need to leave run empty
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