# Taro
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![](https://img.shields.io/node/v/@tarojs/cli.svg?style=flat-square)](https://www.npmjs.com/package/@tarojs/cli)
[![](https://img.shields.io/npm/v/@tarojs/taro.svg?style=flat-square)](https://www.npmjs.com/package/@tarojs/taro)
[![](https://img.shields.io/npm/l/@tarojs/taro.svg?style=flat-square)](https://www.npmjs.com/package/@tarojs/taro)
[![](https://img.shields.io/npm/dt/@tarojs/taro.svg?style=flat-square)](https://www.npmjs.com/package/@tarojs/taro)
[![](https://img.shields.io/travis/NervJS/taro.svg?style=flat-square)](https://travis-ci.org/NervJS/taro)
> 👽 Taro['tɑ:roʊ],泰罗·奥特曼,宇宙警备队总教官,实力最强的奥特曼。
## 简介
**Taro** 是一个开放式跨端跨框架解决方案,支持使用 React/Vue/Nerv 等框架来开发微信/京东/百度/支付宝/字节跳动/ QQ 小程序/H5 等应用。现如今市面上端的形态多种多样,Web、React Native、微信小程序等各种端大行其道,当业务要求同时在不同的端都要求有所表现的时候,针对不同的端去编写多套代码的成本显然非常高,这时候只编写一套代码就能够适配到多端的能力就显得极为需要。
### 版本说明
当前 Taro 已进入 3.x 时代,相较于 Taro 1/2 采用了重运行时的架构,让开发者可以获得完整的 React/Vue 等框架的开发体验,具体请参考[《小程序跨框架开发的探索与实践》](https://mp.weixin.qq.com/s?__biz=MzU3NDkzMTI3MA==&mid=2247483770&idx=1&sn=ba2cdea5256e1c4e7bb513aa4c837834)。
如果你想使用 Taro 1/2,可以访问[文档版本](https://nervjs.github.io/taro/versions)获得帮助。
## 学习资源
[5 分钟上手 Taro 开发](https://taro-docs.jd.com/taro/docs/guide)
[awesome-taro](https://github.com/NervJS/awesome-taro)
掘金小册:[Taro 多端开发实现原理与实战](https://juejin.im/book/5b73a131f265da28065fb1cd?referrer=5ba228f16fb9a05d3251492d)
## 社区共享
[Taro 交流社区——让每一次交流都被沉淀](http://taro-club.jd.com/)
[Taro 物料市场——让每一个轮子产生价值](http://taro-ext.jd.com/)
## 使用案例
Taro 已经投入了我们的生产环境中使用,业界也在广泛地使用 Taro 开发多端应用。
<a href="https://nervjs.github.io/taro-user-cases/"><img src="https://raw.githubusercontent.com/NervJS/taro-user-cases/master/user-cases.jpg" /></a>
[征集更多优秀案例](https://github.com/NervJS/taro/issues/244)
## Taro 特性
### 框架支持
#### React/Nerv 支持
在 Taro 3 中可以使用完整的 React/Nerv 开发体验,具体请参考[基础教程——React](https://nervjs.github.io/taro/docs/react)
代码示例
```javascript
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 中可以使用完整的 Vue 开发体验,具体请参考[基础教程——Vue](https://nervjs.github.io/taro/docs/vue)
代码示例
```vue
<template>
<view class="index">
<text>{{msg}}</text>
</view>
</template>
<script>
export default {
data () {
return {
msg: 'Hello World!'
}
},
created () {},
onShow () {},
onHide () {}
}
</script>
```
### 多端转换支持
Taro 方案的初心就是为了打造一个多端开发的解决方案。
目前 Taro 3 可以支持转换到 **微信/京东/百度/支付宝/字节跳动/QQ 小程序** 以及 **H5 端**。
## 加入共建
#### 加入 Taro 社区共建倡议
[Taro 邀你加入社区共建](https://github.com/NervJS/taro/issues/4714)
#### 为 Taro 贡献代码
Taro 非常欢迎社区开发者为 Taro 贡献代码,在贡献之前请先阅读[贡献指南](https://nervjs.github.io/taro/docs/CONTRIBUTING.html)。
如果你想为 Taro 实现一个重要功能,需要先撰写 RFC 文档,按照 Taro 的[RFC 机制](https://github.com/NervJS/taro-rfcs)进行操作,在经过社区讨论完善后才可以进行代码的提交。
## 问题反馈与建议
[给 Taro 提 ISSUE](https://nervjs.github.io/taro-issue-helper/)
> 强烈推荐阅读 [《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way)、[《如何向开源社区提问题》](https://github.com/seajs/seajs/issues/545) 和 [《如何有效地报告 Bug》](http://www.chiark.greenend.org.uk/%7Esgtatham/bugs-cn.html)、[《如何向开源项目提交无法解答的问题》](https://zhuanlan.zhihu.com/p/25795393),更好的问题更容易获得帮助。
[![Let's fund issues in this repository](https://issuehunt.io/static/embed/issuehunt-button-v1.svg)](https://issuehunt.io/repos/128624453)
## 特别鸣谢
[![nanjingboy](https://avatars1.githubusercontent.com/u/1390888?s=100&v=4)](https://github.com/nanjingboy/) | [![jsNewbee](https://avatars3.githubusercontent.com/u/20449400?s=100&v=4)](https://github.com/js-newbee/) | [![Qiyu8](https://avatars2.githubusercontent.com/u/15245051?s=100&v=4)](https://github.com/Qiyu8/) | [![Garfield550](https://avatars2.githubusercontent.com/u/3471836?s=100&v=4)](https://github.com/Garfield550/)
:---:|:---:|:---:|:---:
[nanjingboy](https://github.com/nanjingboy/) | [jsNewbee](https://github.com/js-newbee/) | [Qiyu8](https://github.com/Qiyu8/) | [Garfield Lee](https://github.com/Garfield550/)
## 贡献者们
<a href="https://github.com/NervJS/taro/graphs/contributors"><img src="https://opencollective.com/taro/contributors.svg?width=890&button=false" /></a>
## 开发计划
[Milestones](https://github.com/NervJS/taro/milestones)
## 更新日志
本项目遵从 [Angular Style Commit Message Conventions](https://gist.github.com/stephenparish/9941e89d80e2bc58a153),更新日志请查阅 [Release](https://github.com/NervJS/taro/releases)。
## 开发交流
[官方交流微信群](https://github.com/NervJS/taro/issues/198)
## 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.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Taro多端统一开发框架 v3.0.26.zip (1754个子文件)
_editorconfig 197B
_eslintrc 201B
_gitignore 64B
_npmrc 570B
.babelrc 140B
.babelrc 127B
.babelrc 127B
.babelrc 39B
.babelrc 34B
icon.android.bakjs 2KB
icon.ios.bakjs 1KB
.buckconfig 114B
html5.css 24KB
html.css 3KB
style.css 1KB
index.css 1KB
index.module.css 125B
index.module.css 125B
index.css 100B
navigator.css 47B
index.css 42B
index.css 42B
index.css 40B
index.global.css 35B
index.global.css 35B
index.css 33B
index.css 33B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
app.css 0B
app.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
index.css 0B
app.css 0B
taro-components.css 0B
.editorconfig 208B
.editorconfig 197B
.eslintignore 567B
.eslintignore 116B
.eslintignore 24B
.eslintignore 14B
.eslintignore 10B
.eslintignore 9B
.eslintignore 8B
.flowconfig 1KB
.gitattributes 16B
.gitignore 793B
.gitignore 187B
.gitignore 169B
.gitignore 158B
.gitignore 52B
.gitignore 48B
.gitignore 38B
.gitignore 21B
.gitignore 21B
.gitignore 15B
.gitignore 9B
.gitignore 8B
.gitignore 3B
.gitignore 3B
.gitignore 0B
说明.htm 4KB
index.html 1015B
index.html 1011B
index.html 1011B
index.html 1011B
index.html 1011B
index.html 1011B
index.html 1011B
index.html 1011B
index.html 1011B
共 1754 条
- 1
- 2
- 3
- 4
- 5
- 6
- 18
资源评论
小小姑娘很大
- 粉丝: 4080
- 资源: 2321
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于opencv的人脸识别考勤系统python源码+数据.zip
- IOT安装包 iotech-iot-1.5-dev-1.5.0-amd64.deb
- 基于物品的协同过滤算法(推荐视频)工具类(见仁见智)
- 21信管2班 武学芹组+独立样本T检验数据分析案例.zip
- demo_ccms_global_open_wlan.py
- 小程序项目源码-小契约(交友互动小程序).zip
- 小程序项目源码-健身房预约课程小程序.zip
- 小程序项目源码-wechat-app-xiaoyima-master小程序.zip
- 小程序项目源码-滑动选项卡小程序.zip
- 小程序项目源码-学习Demo影视推荐、音乐播放、地图小程序.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功