iview-admin使用

桌面创建project文件夹。

文件夹内右键选择gitbash here,输入git init。文件夹内会生成.git文件夹。

再输入git config --global user.name "名字"和git config --global user.email "邮箱"。

最后git clone 项目地址即可。

git成功后,项目根路径中没有npm依赖,需要npm install。如果在install过程中卡住应该是网速问题。

可以把npm设置为淘宝镜像。输入npm config set registry https://registry.npm.taobao.org。之后没什么反应,再输入npm config get registry查看镜像是否设置成功。

设置淘宝镜像成功后,继续npm install即可。

猜你喜欢

转载自www.cnblogs.com/luzhenqian/p/9050809.html