1.打开github,新建Repository,勾选Initialize this repository with a README
2.setting->GitHub Pages->source->none改为master branch->save->记住github pages下面的地址
3.提交代码到该仓库,假设入口index.html
4.在浏览器输入刚刚需要记住的地址加上index.html即可访问
1.打开github,新建Repository,勾选Initialize this repository with a README
2.setting->GitHub Pages->source->none改为master branch->save->记住github pages下面的地址
3.提交代码到该仓库,假设入口index.html
4.在浏览器输入刚刚需要记住的地址加上index.html即可访问