This repo is 4 Magic Cube 3x3x3 built with Expo + Tamagui and bootstrapped with create-r3f-app
.
- Tamagui 🪄
- Expo SDK
- Expo Router
- React Three Fiber
- Three.js
The main apps are:
app
you'll be importing most files fromapp/
-
Install dependencies:
bun install
-
Web local dev:
bun web
-
Android local dev:
bun android
-
Ios local dev:
bun ios
Note we're following the design systems guide and creating our own package for components.
If you're installing a JavaScript-only dependency that will be used across platforms, install it as example:
bun add jotai
bun update --latest
- Config in
vercel.json
file - Build command: leave default setting
- Output dir: leave default setting
- Build preview version with
bunx vercel build
or production withbunx vercel build --prod
- Then deploy the preview with
bunx vercel --prebuilt
or production withbunx vercel --prod --prebuilt