- 通过Vue-Cli 的vue create counter, 创建Vue开发栈
- 实现counter组件
两个按钮 “+” 和 “-” 一个文字显示区域 span,初始值为0 当点击“+”后 显示区域显示1,如继续点击,按此规矩累加 当点击“-”后 显示区域显示数字需要减1,如继续点击,按此规矩累减
- 在命令行中使用以下命令在用户本地任意目录下clone此题目库
git clone repo_of_this_template
-
仔细阅读题目要求和题目描述(题目的README.md中),完成题目
-
在github上创建远端仓库(此处使用your_remote_repo代替你在github上创建的远端仓库)
-
设置远程仓库
git remote set-url origin your_remote_repo
-
在本地使用git提交(commit)并上传(push),之后将github仓库地址(your_remote_repo) eg:(https://github.com/username/your_remote_repo) 填入到提交地址一栏
-
获取分支(该题目分支填写master即可)
-
提交
-
等待结果