E
E
Evgeny Zalivadny2020-12-02 05:51:01
GitHub
Evgeny Zalivadny, 2020-12-02 05:51:01

How to share a repository link with a GitHub site?

How to share a link to a github repository with an html file, such as a rendered React Build project. There used to be such a site, you paste the url to the file and you're done. Now I can't find it.

I know about GitHub Pages - it doesn't fit.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Zalivadny, 2020-12-03
@Nordihan

Found the answer on SO:
The most comfortable way to preview HTML files on GitHub is to go to https://htmlpreview.github.io/ or just prepend it to the original URL, ie:

https://htmlpreview.github.io/?https://github.com/bartaz/impress.js/blob/master/index.html

By the way, if your react-router-dom breaks in this service (does not switch pages and swears at the history state object) - try using https://reactrouter.com/web/api/HashRouter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question