Skip to content

Commit 24f10e4

Browse files
committed
Initial commit
Generated by create-expo-app 1.3.2.
0 parents  commit 24f10e4

File tree

7 files changed

+24377
-0
lines changed

7 files changed

+24377
-0
lines changed

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
node_modules/
2+
.expo/
3+
dist/
4+
npm-debug.*
5+
*.jks
6+
*.p8
7+
*.p12
8+
*.key
9+
*.mobileprovision
10+
*.orig.*
11+
web-build/
12+
13+
# macOS
14+
.DS_Store

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Expo Router Example
2+
3+
Use [`expo-router`](https://expo.github.io/router) to build native navigation using files in the `app/` directory.
4+
5+
## 🚀 How to use
6+
7+
```sh
8+
npx create-react-native-app -t with-router
9+
```
10+
11+
## 📝 Notes
12+
13+
- [Expo Router: Docs](https://expo.github.io/router)
14+
- [Expo Router: Repo](https://github.com/expo/router)
15+
- [Request for Comments](https://github.com/expo/router/discussions/1)

app.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"expo": {
3+
"scheme": "acme",
4+
"web": {
5+
"bundler": "metro"
6+
},
7+
"name": "JSMastaryYt",
8+
"slug": "JSMastaryYt"
9+
}
10+
}

babel.config.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = function (api) {
2+
api.cache(true);
3+
return {
4+
presets: ["babel-preset-expo"],
5+
plugins: [
6+
"@babel/plugin-proposal-export-namespace-from",
7+
"react-native-reanimated/plugin",
8+
require.resolve("expo-router/babel"),
9+
],
10+
};
11+
};

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import "expo-router/entry";

0 commit comments

Comments
 (0)