79 Star 459 Fork 98

GVP凹凸实验室 / Taro

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README_EN.md

Taro

PRs Welcome

简体中文 | English

👽 Taro['tɑ:roʊ], Ultraman Taro, the chief instructor of the Space Guard, the strongest Ultraman.

Introduction

Taro is a cross-platform/cross-framework solution that supports users to develop WeChat/JD/Baidu/Alipay/ByteDance/QQ mini-programs and H5 applications with React/Vue/Nerv and other frameworks. Nowdays, there are various types of mini-program on the market. Multiple platforms such as Web, React Native, and WeChat mini-program are widely used by the developers. Different codes are written while we require to show features on different platforms. The ability to be compatible with multiple platforms within one code is extremely needed.

Version

Taro has entered the 3.x era, with a runtime heavy architecture compared to Taro 1/2, allowing developers to get the full React/Vue framework development experience. Please refer to Mini Program Development in Cross-platform.

If you want to use Taro 1/2, please visit Versions for more information.

Resources

5 Minute Tutorial

Awesome-taro

Juejin book: Taro Cross-platform Development in Action

Community

Taro community

Taro market

Cases

Taro has been used in our production environment, and widely used in the industry for cross-platform development.

Call for more cases

Feature

Framework support

React/Nerv

Taro 3 has full-featured development experience with React/Nerv, please refer to Basic tutorial for React.

Example:

import React, { Component } from 'react'
import { View, Text } from '@tarojs/components'

export default class Index extends Component {
  state = {
    msg: 'Hello World! '
  }
  componentWillUnmount () { }

  componentDidShow () { }

  componentDidHide () { }

  render () {
    return (
      <View className='index'>
        <Text>{this.state.msg}</Text>
      </View>
    )
  }
}

Vue

Taro 3 has full-featured development experience with Vue, please refer to Basic tutorial for Vue.

Example:

<template>
  <view class="index">
    <text>{{msg}}</text>
  </view>
</template>

<script>
export default {
  data () {
    return {
      msg: 'Hello World!'
    }
  },
  created () {},
  onShow () {},
  onHide () {}
}
</script>

Cross-platform support

Taro's ultimate goal is to provide a solution for cross-platform development.

Taro supports converting code to WeChat/JD/Baidu/Alipay/ByteDance/QQ mini-programs and H5 applications.

Join us

Taro community

Welcome to the Taro community

Contribute to Taro

You are very welcome to contribute your code for Taro, before submitting your code, please read CONTRIBUTING.

If you want to implement a feature for Taro, you need to write an RFC document first. Follow the RFC and submit your code after the discussion in the community.

Issues

Report issues to Taro

Highly recommend reading these books before reporting issues How to Ask Questions The Smart Way(Chinese), How to Ask Questions in an open-source community, How to Report Bugs Effectively, How to Ask Bad Questions to Open Source Projects(Chinese). Good questions can be answered quickly.

Let's fund issues in this repository

Acknowledgements

nanjingboy jsNewbee Qiyu8 Garfield550
nanjingboy jsNewbee Qiyu8 Garfield Lee

Contributors

Milestones

Milestones

Release Notes

Taro follows Angular Style Commit Message Conventions, please read Release Notes.

Communication

Official Wechat group

License

MIT License

Copyright (c) O2Team

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Repository Comments ( 4 )

Sign in for post a comment

About

Taro - 用 React 写小程序,生成 H5、React Native 等多端引用 Taro['tɑ:roʊ],泰罗·奥特曼,宇宙警备队总教官,实力最强的奥特曼 expand collapse
JavaScript and 6 more languages
MIT
Cancel

Releases

No release

Taro

Contributors

All

Activities

Load More
can not load any more
JavaScript
1
https://git.oschina.net/o2team/Taro.git
git@git.oschina.net:o2team/Taro.git
o2team
Taro
Taro
next

Search