mirror of
https://github.com/zhigang1992/examples.git
synced 2026-01-12 22:47:03 +08:00
Create README.md
This commit is contained in:
44
blank/README.md
Normal file
44
blank/README.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# My Universal React Project
|
||||
|
||||
<p>
|
||||
<!-- iOS -->
|
||||
<a href="https://itunes.apple.com/app/apple-store/id982107779">
|
||||
<img alt="Supports Expo iOS" longdesc="Supports Expo iOS" src="https://img.shields.io/badge/iOS-4630EB.svg?style=flat-square&logo=APPLE&labelColor=999999&logoColor=fff" />
|
||||
</a>
|
||||
<!-- Android -->
|
||||
<a href="https://play.google.com/store/apps/details?id=host.exp.exponent&referrer=blankexample">
|
||||
<img alt="Supports Expo Android" longdesc="Supports Expo Android" src="https://img.shields.io/badge/Android-4630EB.svg?style=flat-square&logo=ANDROID&labelColor=A4C639&logoColor=fff" />
|
||||
</a>
|
||||
<!-- Web -->
|
||||
<a href="https://docs.expo.io/workflow/web/">
|
||||
<img alt="Supports Expo Web" longdesc="Supports Expo Web" src="https://img.shields.io/badge/web-4630EB.svg?style=flat-square&logo=GOOGLE-CHROME&labelColor=4285F4&logoColor=fff" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
## 🚀 How to use
|
||||
|
||||
- Install packages with `yarn` or `npm install`.
|
||||
- If you have native iOS code run `npx pod-install`
|
||||
- Run `expo start` to start the bundler.
|
||||
- Open the project in a React runtime to try it:
|
||||
- iOS: [Expo client iOS](https://itunes.apple.com/app/apple-store/id982107779)
|
||||
- Android: [Expo client Android](https://play.google.com/store/apps/details?id=host.exp.exponent&referrer=blankexample)
|
||||
- Web: Any web browser
|
||||
|
||||
## Adding Native Code
|
||||
|
||||
This project can be run from the Expo client, you may find that you want to add more native code later on. You can do this by ejecting the project and rebuilding it yourself.
|
||||
|
||||
- Run `expo eject` to create the native projects.
|
||||
- You can still run your project in the Expo client, you just won't be able to access any new native modules you add.
|
||||
|
||||
## Publishing
|
||||
|
||||
- Deploy the native app to the App store and Play store using [Expo deployment](https://docs.expo.io/distribution/app-stores/).
|
||||
- Deploy the website using this guide: [Web deployment](https://docs.expo.io/distribution/publishing-websites/).
|
||||
|
||||
## 📝 Notes
|
||||
|
||||
- Learn more about [Universal React with Expo](https://docs.expo.io/).
|
||||
- See what API and components are [available in the React runtimes](https://docs.expo.io/versions/latest/).
|
||||
- Find out more about developing apps and websites: [Guides](https://docs.expo.io/guides/).
|
||||
Reference in New Issue
Block a user