React Native Web Expo Boilerplate screenshot

React Native Web Expo Boilerplate

Author Avatar Theme by Agrcrobles
Updated: 25 Jul 2019
63 Stars

I am no longer in maintenance

Categories

Overview

The “expo + react-native-web boilerplate” is a minimum boilerplate that allows for the configuration of react-native-web with Expo. It aims to provide a seamless way to develop applications for both web and mobile platforms. The prerequisites for using this boilerplate are Node LTS and additional information can be found in the getting started guide. The boilerplate supports building the bundle for web and developing with the webpack-dev-server for quick development. It also includes support for Expo for mobile platform development.

Features

  • Seamless Integration: Allows for the configuration of react-native-web with Expo.
  • Support for Web: Provides the ability to build the bundle for web and use the webpack-dev-server for development.
  • Expo Integration: Includes support for Expo for mobile platform development.

Installation

To install the “expo + react-native-web boilerplate”, follow these steps:

  1. Make sure you have Node LTS installed on your system.

  2. Clone or download the boilerplate from the repository.

  3. Open your terminal and navigate to the directory where the boilerplate is located.

  4. Run the following command to install the dependencies:

    npm install
    
  5. After the installation is complete, you can build the bundle for web by running the following command:

    npm run build
    
  6. To develop with the webpack-dev-server, run the following command:

    npm run start:web
    
  7. To use Expo for mobile platform development, follow the instructions provided in the getting started guide.

Summary

The “expo + react-native-web boilerplate” is a useful tool for developers who want to leverage the power of Expo and react-native-web to develop applications for both web and mobile platforms. It provides seamless integration and supports building the bundle for web as well as development with the webpack-dev-server. With its support for Expo, developers can easily develop for mobile platforms as well. Overall, this boilerplate simplifies the configuration process and allows developers to focus on building their applications.