Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- Git
- nextjs
- Each child in a list should have a unique "key" prop.
- react-native-dotenv
- react-native
- 이미지 데이터 타입
- github pdf
- Can't resolve
- device in use
- github lfs
- ffi-napi
- animation
- augmentedDevice
- silent printing
- Recoil
- 티스토리 성능
- custom printing
- electron-packager
- vercel git lfs
- camera permission
- html
- npm package
- Failed to compiled
- adb connect
- github 100mb
- ELECTRON
- dvh
- camera access
- adb pair
- rolldown
Archives
- Today
- Total
목록react-native-dotenv (1)
Bleeding edge
react-native에서 .env (환경 변수 관리하기)
react-native에서 환경변수를 관리하는 라이브러리는 1. react-native-config 2. react-native 두 가지가 있습니다. react-native-config 같은 경우에는 초기 설정이 많이 있기 때문에, react-native-dotenv를 선택하였다. 1) install npm i react-native-config 혹은 yarn add react-native-config 2) babel config module.exports = { //... "presets": ["module:metro-react-native-babel-preset"], "plugins": [ ["module:react-native-dotenv", { "moduleName": "@env", "path":..
Javascript/React-Native
2023. 9. 18. 10:54