(Optional) Download and install NVM for Windows
npm install -g yarn
yarn global add expo-cli
expo init <project dir>
If expo command not recognized, try the followings:
- Add
%USERPROFILE%\AppData\Roaming\npmtoPATH - Add
$(yarn global bin)toPATH - Set environment variable
NODE_PATHto%AppData%\npm\node_modules
expo add react-native-elements react-native-modal # react-native-vector-icons native-base
yarn add --dev @types/react-native-vector-icons
expo add react-redux redux-logger redux-persist @reduxjs/toolkit # redux redux-thunk
yarn add --dev @types/react-redux @types/redux-logger
expo add @react-navigation/native @react-navigation/stack @react-navigation/drawer
expo add react-native-gesture-handler react-native-reanimated react-native-safe-area-context @react-native-community/masked-view # react-native-screens
expo add formik yup
yarn add --dev @types/yup
expo add voca
yarn add --dev @types/voca
expo add moment
expo add react-native-modal-datetime-picker @react-native-community/datetimepicker