Skip to content

A minimalist boilerplate for starting React Native apps with Webpack and ES6 using Babel.

License

Notifications You must be signed in to change notification settings

danieldunderfelt/react-native-webpack-starter-kit

Repository files navigation

react-native-webpack-starter-kit

Dependency Status devDependency Status

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.

Requirements

Stack

Installation

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

Usage

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.

About

A minimalist boilerplate for starting React Native apps with Webpack and ES6 using Babel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published