react-everywhere/re-start
react-everywhere/re-start has 1,297 GitHub stars and 83 forks. GitHot measured +1 stars in 24 hours and 0 in 7 days. Last checked 2026-11-13 02:09 UTC. Last push 2020-06-02.
react-native template to target multiple platforms :globe_with_meridians: :iphone: :computer: with single codebase.
측정된 스타 증가
- in 24h
- +1
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalre-start :globe_with_meridians: :iphone: :computer:
Aim of the project
- Target multiple platforms (Android, iOS, Web, Windows[UWP] and Electron[macOS, Linux, Windows]) with react native' APIs and a single codebase.
- Follow best practices while doing the above.
- Cut out the time and effort it takes to setup the project (based on
create-react-app). - Achieve write once run everywhere with react-native (though react strictly says 'Learn once use anywhere').
- Mitigate git cloning or manual upgrading of boiler plates, which is possible because this project is a react-native template. :tada:
Structure of the project
- This project comprises of several templates that are curated keeping in mind the various use cases of initiating a new project. Based on your requirements and preferences, you can choose a templates that suits your you case the best.
Usage
Pre-requisites
- Node.js & npm
- react-native CLI (
npm install -g react-native-cli)
Install
- Create a new react-native project using
react-native-cliand specifyre-baseas a template:react-native init <Your Project Name> --template re-base - React Native don't support templates inheritance. If you want to use a
derived template like
re-duxorre-route, install them directly on top of the just created project. You'll probably get a warning about the project already exists, just say ityesto overwrite the needed files.react-native init <Your Project Name> --template re-dux react-native init <Your Project Name> --template re-route react-native init <Your Project Name> --template re-startre-starttemplate depend of bothre-routeandre-dux, be sure to install them first in that order. - Since
react-native-templatedoesn't support adding custom scripts topackage.json, exec./finishInstall.jsto finish the project configuration. - Your project should now be ready to build apps for the different platforms.
Run the project on a specific platform
Android/iOS
npm/yarn run android
npm/yarn run ios
In case of problems, this tutorial will help you to configure your environment.
Desktop (Electron)
npm/yarn run electron
Web
npm/yarn run web
Windows
npm/yarn run windows
Windows platforms needs to have installed the Windows 10 SDK Build 14393 to be
able to be build. A certificate is needed to sign the binary, follow the
instructions
to create or update the sign certificate. After that, a pop-up window would
appear during the first time you exec the build process asking to install the
certificate you've just created, just accept it.
Build for production
Android
npm/yarn run android:release
Electron
npm/yarn run electron:release
If you are running this on Linux or OSX, this will need you have wine 1.6
installed in your system because setting the Windows app icon makes usage
internally of the node-rcedit package.
iOS
npm/yarn run ios:release
Web
npm/yarn run web:release
This will build your production ready bundle
Windows
npm/yarn run windows:release
Some very useful cross platform compatible libraries
- react-native-vector-icons
- axios
- react-router
- re-render (this is experimental and a WIP)
Progress
- support for web (react-native-web_improved)
- support for Windows (react-native-windows)
- Support for electron
- Compatibility with React 16
- Add Docs and FAQs
- Configure Travis and Greenkeeper
- Interactive CLI to create templates and components
Running demo on Web, Android, iOS, Windows(Universal) and Electron
Contributors
Thanks goes to these wonderful people (emoji key):
Amogh Banta 💻 🎨 📖 🐛 🤔 ⚠️ |
Jesús Leganés-Combarro 💻 🤔 🐛 ⚠️ 👀 📖 |
Ankit Popli 👀 🤔 🐛 |
Christopher Hein 📖 🐛 |
DuncanMacWeb 💻 |
|---|
Full list of contributors can be found here.
Companies that contribute to re-start's development
LICENSE
MIT
관련 프로젝트 살펴보기
freeCodeCamp/freeCodeCamp
freeCodeCamp.org의 오픈 소스 코드베이스와 커리큘럼입니다. 수학, 프로그래밍, 컴퓨터 과학을 무료로 배울 수 있습니다.
459,068 스타donnemartin/system-design-primer
대규모 시스템 설계 방법을 배우고 시스템 설계 면접을 준비할 수 있습니다. Anki 플래시카드가 포함되어 있습니다.
377,732 스타react/react
웹과 네이티브 사용자 인터페이스를 위한 라이브러리.
252,565 스타vuejs/vue
Vue 2 저장소입니다. Vue 3은 https://github.com/vuejs/core를 방문하세요.
212,527 스타