Giter Club home page Giter Club logo

vue-counter-2019-5-7-3-24-19-42's Introduction

第一个Vue练习-Counter组件

要求

  1. 通过Vue-Cli 的vue create counter, 创建Vue开发栈

  2. 在此栈中实现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即可)

  • 提交

  • 等待结果

vue-counter-2019-5-7-3-24-19-42's People

Contributors

linwenjun avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.