Code Monkey home page Code Monkey logo

taro-user-cases's Introduction

Taro 案例

使用说明:

编辑根目录的 index.js 文件,修改第一行 userCases 变量,找到对应平台键值,往数组里添加对象:

name: 应用名
url: 二维码图片地址

修改完毕提交会提交 PR。当本仓库有 push 事件发生时会自动更新图片

如何提交案例

方式一,提交PR

如何给这个仓库提交 PR

  1. Fork 本仓库到自己的远程仓库

  1. clone 自己的仓库(https://github.com/「 你的github用户名 」/taro-user-cases)到本地电脑
git clone https://github.com/「 你的github用户名 」/taro-user-cases.git
  1. 与源代码的github仓库(https://github.com/NervJS/taro-user-cases.git)建立新的连接
git remote add upstream https://github.com/NervJS/taro-user-cases.git
  1. 查看是否成功建立连接
git remote -v
  1. 创建本地分支(这里叫taroCase, 随你叫啥)
git checkout -b taroCase
  1. 修改「 taro-user-cases/index.js 」文件里的代码,添加你的案例内容, 将当前分支推送到自己的远程仓库
git add  .
git commit -m "feat: 添加案例XXX"
git push origin taroCase
  1. 提交PR

注意事项:

每次 PR 之前,首先与远程仓库代码同步,刚才上面的远程仓库链接就是为了做远程代码同步

git fetch upstream
git rebase upstream/master
git push origin master

方式二,提交到 Issues

提交到 Issues 中,注明:

  • 应用名称
  • 属于哪一端和二维码或小程序码

taro-user-cases's People

Contributors

biztudio avatar broven avatar chenvan avatar dreampwj avatar gjjbase avatar greywen avatar guozimo avatar guyezhi avatar honlyhuang avatar ioobot avatar jasonyan2015 avatar jeepeng avatar jessejyang avatar jevonscode avatar kuan1 avatar liuchengguo avatar luckyadam avatar lyokoo avatar magic-zhu avatar michaelxu1983 avatar suchenrain avatar sunnyqjm avatar sysoft avatar umaim avatar user-cases-bot[bot] avatar wkl007 avatar yanceyofficial avatar ytu94 avatar yuche avatar yuuk 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.