vue create -p dcloudio/uni-preset-vue my-project
( 运行没反应后报错,我就去百度各种问题。看到有人说好像创建这个项目需要访问到githup,具体原因我也不知道。我就急着测试githup能不能登录上去,后来发现电脑上的所有浏览器都访问不了githup,我就去找怎么解决
。)
我自己跑通的githup如下操作:
https://github.com.ipaddress.com/
( 找到 IP Address
然后 cmd 进入命令窗口 ping IP 看是否能跑通
跑通后我又去访问githup还是不行,我就又去找网友们提供的信息
最后C:\Windows\System32\drivers\etc\hosts
中我的内容是 ):
#github
140.82.114.4 github.com
192.30.253.118 gist.github.com
185.199.108.153 assets-cdn.github.com
151.101.184.133 raw.githubusercontent.com
151.101.184.133 gist.githubusercontent.com
151.101.184.133 cloud.githubusercontent.com
151.101.184.133 camo.githubusercontent.com
151.101.184.133 avatars0.githubusercontent.com
151.101.184.133 avatars1.githubusercontent.com
151.101.184.133 avatars2.githubusercontent.com
151.101.184.133 avatars3.githubusercontent.com
1