github.io托管vue3.0项目

198 阅读1分钟

github.io

github pages

托管静态网页

1.创建项目xutongbao.github.io

2.使用Vue CLI 4.x创建vue3的项目,并把打包目录更改为docs

3.开发项目并打包上传到github上

把打包后的docs文件夹里代码也提交上去

4.设置目录

5.路由和接口

 

如何托管node接口请参考:blog.csdn.net/xutongbao/a…

 

github项目:github.com/xutongbao/x…