Skip to content

A starter template for ReactNative with Expo & Tailwind in TypeScript

Notifications You must be signed in to change notification settings

utsavdotpro/starter-rn-expo-tailwind-ts

Repository files navigation

RN with Expo & Tailwind in TypeScript

A starter template for ReactNative with Expo & Tailwind in TypeScript with an opinionated modular project structure

Tech Stack


How to Reuse Locally?

Use degit to download the repository locally.

degit downloads a copy of git repository with its entire git history.

Install degit globally.

npm install -g degit

Download the latest version

degit utsavdotpro/starter-rn-expo-tailwind-ts

Getting Started

Install dependencies

yarn install

Start expo server

yarn start

Launch the development apps

# start android app
yarn android

# start ios app
yarn ios

# start web app
yarn web

Use Tailwind-rn

# start Tailwind class generator (in watch mode)
yarn dev:tailwind

# build Tailwind classes
yarn build:tailwind

Project Structure

project
|-- public                    ℹ️ keep your static resource files
|-- src
|   |-- common
|   |   |-- components
|   |   |   |-- elements      ℹ️ keep your state-less components
|   |   |   |                 ℹ️ keep your state-full components
|   |   |-- hoc
|   |   |-- hooks
|   |   |-- layouts
|   |   |-- types
|   |-- modules
|   |-- screens
|   |-- services
|   |-- styles
|   |-- utils
|   |   |-- constants         ℹ️ keep your constants
|   |   |                     ℹ️ keep your util functions

About

A starter template for ReactNative with Expo & Tailwind in TypeScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published