创建vue脚手架项目,以及推送到码云,springboot,elementUI

1.创建码云仓库(MIT),克隆/下载那儿找到SSH并复制下来
2、在你的项目目录下,git bash
3、git clone +刚刚复制的SSH
4、脚手架vue cli
(1)在含有readme git 等文件目录终端下,键入下命令,回车。如果之前安装了下,就可以跳过
在这里插入图片描述
(2)创建vue 项目:vue init webpack 项目名(不能有大写字母和驼峰命名法)
意为用vue创建一个基于webpack这种打包工具的名为“你的项目名称”的项目
在这里插入图片描述
然后出来一些提示如下
【1】创建项目的目录是否存在。Y代表存在,可以把项目目录创建在这里
【2】你的项目名称是这个吗
【3】你的项目描述?不描述,直接回车
创建vue脚手架项目,以及推送到码云,springboot,elementUI_第1张图片
还有一些
创建vue脚手架项目,以及推送到码云,springboot,elementUI_第2张图片
项目将生成

(3)然后 cd 切换到你的vue项目下
npm run dev 出来localhost,然后在你自己浏览器上运行即可
创建vue脚手架项目,以及推送到码云,springboot,elementUI_第3张图片
(4)ctrl c 退出,把项目同步到码云键入:
git add .
git commit -m ‘操作名称’’
git push

4、vue与elementUI使用教程

官网最好:https://element.eleme.cn/#/zh-CN/component/quickstart
那个debug:

[email protected] dev C:\Users\lenovo\my-first-vue-project
node build/dev-server.js

‘node’ ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒
▒▒▒▒▒▒▒▒▒ļ▒▒▒

npm ERR! Windows_NT 6.1.7601
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Users\lenovo\AppData\Roaming\npm\node_modnpm-cli.js” “run” “dev”
npm ERR! node v4.4.4
npm ERR! npm v3.0.0
npm ERR! code ELIFECYCLE
npm ERR! [email protected] dev: node build/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script ‘node build/dev-server.js’.
npm ERR! This is most likely a problem with the my-first-vue-project package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build/dev-server.js
npm ERR! You can get their info via:
npm ERR! npm owner ls my-first-vue-project
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\lenovo\my-first-vue-project\npm-debug.log
删除 https://www.imooc.com/qadetail/185596

热心网友:https://www.cnblogs.com/jy1314520/p/jylegend.html

5,解决merge问题,

Auto-merging src/main/java/org/cyc/imwebbackend/zlx/controller/UserinfoController.java
CONFLICT (content): Merge conflict in src/main/java/org/cyc/imwebbackend/zlx/controller/UserinfoController.java
Automatic merge failed; fix conflicts and then commit the result.

https://blog.csdn.net/junmuzi/article/details/60781504

你可能感兴趣的:(vue.cli脚手架)