UNPKG

react-native-template-sishu

Version:
46 lines (28 loc) 1.96 kB
# 🎨 react-native-template-sishu [![MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![npm version](https://img.shields.io/npm/v/react-native-template-sishu.svg)](https://badge.fury.io/js/react-native-template-sishu) [![npm](https://img.shields.io/npm/dt/react-native-template-sishu.svg)](https://www.npmjs.com/package/react-native-template-sishu) > 私塾国际学府 React Native 团队开箱即用项目模板 ## :star: Features - 无缝集成到 [React Native CLI](https://github.com/react-native-community/cli) 中!✨ - 与默认的 React Native 模板一致 - 优雅地集成 axios、mobx、react-navigation 等常用组件 - 默认已配置好 react-native-splash-screen - 优雅地声明全局变量(通过定义命名空间) - 成熟的 eslint、prettier、husky、lint-staged 集成方案 > 更多信息请查询 [建模历程](./docs/建模历程.md) ## :arrow_forward: Usage ### Note on the legacy CLI There seems to be quite some confusion about the legacy CLI. This template only works with the new CLI. Make sure you have uninstalled the legacy `react-native-cli` first (`npm uninstall -g react-native-cli`), for the blow command to work. If you wish to not use `npx`, you can also install the new CLI globally (`npm i -g @react-native-community/cli` or `yarn global add @react-native-community/cli`). Further information can be found here: https://github.com/react-native-community/cli#about ### `react-native@0.61.0` or higher ```sh npx react-native init MyApp --template react-native-template-sishu ``` ## 镜像 - [Homebrew 镜像使用帮助](https://github.com/youngjuning/blog/issues/10) - [CocoaPods 镜像使用帮助](https://mirror.tuna.tsinghua.edu.cn/help/CocoaPods/) ## :computer: Contributing Contributions are very welcome. Please check out the [contributing document](CONTRIBUTING.md). ## :bookmark: License This project is [MIT](LICENSE) licensed.