Skip to content

Initial Setup

Starter base

A starting point to help you set up your project quickly and use the common components provided by react-native-reusables. The idea is to make it easier for you to get started.

starter-base-template

Installation

  1. Clone the react-native-reusables repository
Terminal window
git clone https://github.com/mrzachnugent/react-native-reusables.git

  1. Use the following bash command and rename my-project to the name of your new project.

This will copy the folder react-native-reusables/apps/starter-base, paste it as a sibling, and rename it to your new project name.

bash
cp -R react-native-reusables/packages/templates/starter-base/ ./my-project

  1. Change Directory to your project (replace my-project with your project’s name), install the dependencies, and fix packages if needed.
Terminal window
cd my-project && npm install && npx expo install --fix

  1. Run the project
Terminal window
npm run ios