Idea创建vue.js项目
创建vue.js项目
将会遇到问题:
Skipped git commit due to missing username and email in git config, or failed to sign commit. You will need to perform the initial commit yourself.
错误原因:
git 进行初始化提交
解决方法:
进入cmd 到项目目录 配置用户名和邮箱
git config --global user.name “x”
git config --global user.email “x”
配置完成后进行查看
查看用户名: git config user.name
查看邮箱: git config user.email
我按照网上的配置了main.js下的router等,但是目录不对,会发生下面的错误,打开localhost:8080也是这样的页面
解决办法:
把main.js配置还原
配置成功
App running at:
- Local: http://localhost:8080/
- Network: http://192.168.1.108:8080/
登录localh:8080页面恢复正常