You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants';
7
+
import Tabs from '@theme/Tabs';
8
+
import TabItem from '@theme/TabItem';
9
+
import constants from '@site/core/TabsConstants';
8
10
9
-
import GuideLinuxAndroid from './\_getting-started-linux-android.md'; import GuideMacOSAndroid from './\_getting-started-macos-android.md'; import GuideWindowsAndroid from './\_getting-started-windows-android.md'; import GuideMacOSIOS from './\_getting-started-macos-ios.md';
11
+
import GuideLinuxAndroid from './\_getting-started-linux-android.md';
12
+
import GuideMacOSAndroid from './\_getting-started-macos-android.md';
13
+
import GuideWindowsAndroid from './\_getting-started-windows-android.md';
14
+
import GuideMacOSIOS from './\_getting-started-macos-ios.md';
@@ -82,109 +95,14 @@ import GuideLinuxAndroid from './\_getting-started-linux-android.md'; import Gui
82
95
83
96
[//]: #'Linux, iOS'
84
97
85
-
## 暂不支持
86
-
87
-
> 苹果公司目前只允许在 Mac 电脑上开发 iOS 应用。如果你没有 Mac 电脑,那么只能考虑使用`沙盒环境`,或者先开发 Android 应用了。
88
-
89
-
</TabItem>
90
-
</Tabs>
91
-
92
-
</TabItem>
93
-
</Tabs>
94
-
95
-
</TabItem>
96
-
<TabItemvalue="quickstart">
97
-
98
-
> 译注:沙盒环境大量依赖于国外网络环境,也不能直接安装第三方原生组件。不建议国内用户使用
99
-
100
-
Assuming that you have [Node 12 LTS](https://nodejs.org/en/download/) or greater installed, you can use npm to install the Expo CLI command line utility:
Install the [Expo](https://expo.io) client app on your iOS or Android phone and connect to the same wireless network as your computer. On Android, use the Expo app to scan the QR code from your terminal to open your project. On iOS, use the built-in QR code scanner of the Camera app.
149
-
150
-
<h3>Modifying your app</h3>
151
-
152
-
Now that you have successfully run the app, let's modify it. Open `App.js` in your text editor of choice and edit some lines. The application should reload automatically once you save your changes.
153
-
154
-
<h3>That's it!</h3>
155
-
156
-
Congratulations! You've successfully run and modified your first React Native app.
Expo also has [docs](https://docs.expo.io) you can reference if you have questions specific to the tool. You can also ask for help at [Expo forums](https://forums.expo.io).
163
-
164
-
These tools help you get started quickly, but before committing to building your app with Expo CLI, [read about the limitations](https://docs.expo.io/versions/latest/introduction/why-not-expo/).
165
-
166
-
If you have a problem with Expo, before creating a new issue, please see if there's an existing issue about it:
167
-
168
-
- in the [Expo CLI issues](https://github.com/expo/expo-cli/issues) (for issues related to Expo CLI), or
169
-
- in the [Expo issues](https://github.com/expo/expo/issues) (for issues about the Expo client or SDK).
170
-
171
-
If you're curious to learn more about React Native, check out the [Introduction to React Native](getting-started).
172
-
173
-
<h3>Running your app on a simulator or virtual device</h3>
174
-
175
-
Expo CLI allows you to run your React Native app on a physical device without setting up a development environment. If you want to run your app on the iOS Simulator or an Android Virtual Device, please refer to the instructions for "React Native CLI Quickstart" to learn how to install Xcode or set up your Android development environment.
176
-
177
-
Once you've set these up, you can launch your app on an Android Virtual Device by running `npm run android`, or on the iOS Simulator by running `npm run ios` (macOS only).
178
-
179
-
<h3>Caveats</h3>
180
-
181
-
Because you don't build any native code when using Expo to create a project, it's not possible to include custom native modules beyond the React Native APIs and components that are available in the Expo client app.
182
-
183
-
If you know that you'll eventually need to include your own native code, Expo is still a good way to get started. In that case you'll need to "[eject](https://docs.expo.io/versions/latest/workflow/customizing/)" eventually to create your own native builds. If you do eject, the "React Native CLI Quickstart" instructions will be required to continue working on your project.
184
-
185
-
Expo CLI configures your project to use the most recent React Native version that is supported by the Expo client app. The Expo client app usually gains support for a given React Native version about a week after the React Native version is released as stable. You can check [this document](https://docs.expo.io/versions/latest/sdk/overview/#sdk-version) to find out what versions are supported.
186
-
187
-
If you're integrating React Native into an existing project, you'll want to skip Expo CLI and go directly to setting up the native build environment. Select "React Native CLI Quickstart" above for instructions on configuring a native build environment for React Native.
Copy file name to clipboardExpand all lines: cnwebsite/versioned_docs/version-0.80/get-started-without-a-framework.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ import RemoveGlobalCLI from './\_remove-global-cli.md';
15
15
16
16
If you have constraints that are not served well by a [Framework](/architecture/glossary#react-native-framework), or you prefer to write your own Framework, you can create a React Native app without using a Framework.
17
17
18
-
To do so, you'll first need to [set up your environment](set-up-your-environment). Once you're set up, continue with the steps below to create an application and start developing.
18
+
To do so, you'll first need to [set up your environment](environment-setup). Once you're set up, continue with the steps below to create an application and start developing.
0 commit comments