Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-native-template-mario

maybewaityou120ISC0.1.34TypeScript support: included

react-native template to target multiple platforms.

react, react-native, template, starter, boilerplate, kit, mario, native

readme

React Native Template

React Native 项目模板.

技术栈

react-native + typescript + mario-meditation (redux + immutable + reselect + redux-observable + rxjs) + mario-architecture-components + react-navigation

Installation

<new project name> 替换为初始化的项目名称.

react-native init <new project name> --template mario
cd <new project name>
node scripts/index.js

Happy hacking : )

scripts

  1. 编译typescript文件:
$ yarn build

$ npm run build
  1. 实时编译typescript文件:
$ yarn watch

$ npm run watch
  1. 删除生成文件, 重新编译:
$ yarn rebuild

$ npm run rebuild