https://github.com/khofesh/rntemplate
https://github.com/khofesh/rntemplate
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/khofesh/rntemplate
- Owner: khofesh
- Created: 2021-01-29T04:13:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-04T09:53:59.000Z (over 5 years ago)
- Last Synced: 2025-10-22T08:43:14.758Z (8 months ago)
- Language: JavaScript
- Size: 1.75 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Native Template
hola!
default settings:
1. react navigation
2. redux and redux-thunk
3. react native elements
4. hermes engine is enabled
5. react-native-config
6. react-native-vector-icons
# HowTo
```
npx react-native init yourProjectName --template https://github.com/khofesh/rntemplate.git
```
# After creating RN project
## react-native-vector-icons
```
npx react-native link react-native-vector-icons
```
## enable hermes engine
https://reactnative.dev/docs/hermes
## react-native-config
https://github.com/luggit/react-native-config
on your android/app/build.gradle, add the following:
```
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"
```
## Authentication
set authentication properly
# References
default template: \
https://github.com/facebook/react-native/tree/master/template \
examples: \
https://medium.com/dailyjs/the-1-2-3s-of-react-native-templates-1f5dda037e11 \
https://github.com/react-native-community/react-native-template-typescript \
https://github.com/react-native-community/cli/blob/master/docs/init.md#creating-custom-template \