A minimalist seed for building with React Native and Webpack. Leverages react-native-webpack-server
. Follows the latest React Native stable release. For a list of awesome boilerplates for React Native please visit Awesome React Boilerplates.
For an example implementation check out Lumpen Radio.
- Xcode
- Android SDK
- Node 4.x or better
- React Native for native app development
- Babel for ES6+ support
- Webpack module loader and bundler
Strat by cloning this repo and installing dependencies:
git clone https://github.com/jhabdas/react-native-webpack-starter-kit.git
cd react-native-webpack-starter-kit
npm install # Install Node.js dependencies listed in ./package.json
Once dependencies are installed the application with:
npm start # or: node node_modules/.bin/react-native-webpack-server start
This will start a Webpack Dev Server which will watch your JS files for changes and automatically generate the index.[platform].js
file expected by your app.
Then open ios/App.xcodeproj
in Xcode, build and run the project. For Android setup please see the official Android Setup documentation.
If you run into any issues please see the Getting Started guide for React Native before submitting an issue.