Skip to content

huuquyet/expo-tamagui

Repository files navigation

Tamagui + Expo

npm create tamagui@latest --template expo-router

🔦 About

This repo is a starter for an Expo + Tamagui app.

📦 Included packages

  • Tamagui 🪄
  • Expo SDK
  • Expo Router

🗂 Folder layout

The main apps are:

  • app you'll be importing most files from app/

🏁 Start the app

  • Install dependencies: bun install

  • Web local dev: bun web

  • Android local dev: bun android

  • Ios local dev: bun ios

UI Kit

Note we're following the design systems guide and creating our own package for components.

🆕 Add new dependencies

Pure JS dependencies

If you're installing a JavaScript-only dependency that will be used across platforms, install it as example:

bun add jotai

Update new dependencies

Pure JS dependencies

bun update

Deploying to Vercel

  • Config in vercel.json file
  • Build command: leave default setting
  • Output dir: leave default setting
  • Build preview version with bunx vercel build or production with bunx vercel build --prod
  • Then deploy the preview with bunx vercel --prebuilt or production with bunx vercel --prod --prebuilt