-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
website: Add environment-setup/android
- Loading branch information
1 parent
e416f1c
commit 9563e18
Showing
6 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
website/src/pages/docs/environment-setup/android-windows/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Android 环境安装(for Windows) | ||
--- | ||
|
||
这里介绍,使用 React Native CLI 运行一个 Android 环境下的 app。 | ||
|
||
正在编辑中.... |
11 changes: 11 additions & 0 deletions
11
website/src/pages/docs/environment-setup/android-windows/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Markdown, { importAll } from '../../../../component/Markdown'; | ||
|
||
export default class Page extends Markdown { | ||
path = "/website/src/pages/docs/environment-setup/android-windows/README.md"; | ||
getMarkdown = async () => { | ||
const md = await import('./README.md'); | ||
// 支持 markdown 中,相对于当前 index.tsx 相对路径引入图片资源 | ||
importAll((require as any).context('./', true, /\.(png|gif|jpg)$/), this.imageFiles); | ||
return md.default || md; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Android 环境安装(for Mac) | ||
--- | ||
|
||
这里介绍,使用 React Native CLI 运行一个 Android 环境下的 app。 | ||
|
||
正在编辑中.... |
11 changes: 11 additions & 0 deletions
11
website/src/pages/docs/environment-setup/android/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Markdown, { importAll } from '../../../../component/Markdown'; | ||
|
||
export default class Page extends Markdown { | ||
path = "/website/src/pages/docs/environment-setup/android/README.md"; | ||
getMarkdown = async () => { | ||
const md = await import('./README.md'); | ||
// 支持 markdown 中,相对于当前 index.tsx 相对路径引入图片资源 | ||
importAll((require as any).context('./', true, /\.(png|gif|jpg)$/), this.imageFiles); | ||
return md.default || md; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters