github.io托管vue3.0项目

github.io

github pages

托管静态网页

1.创建项目xutongbao.github.io

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

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

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

4.设置目录

5.路由和接口

 

如何托管node接口请参考:https://blog.csdn.net/xutongbao/article/details/116641092

 

github项目:https://github.com/xutongbao/xutongbao.github.io

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

posted @ 2021-05-11 09:50  徐同保  阅读(234)  评论(0编辑  收藏  举报