✨ Enabler repo to start a typesafe, universal Expo & Next.js app ✨
Get started with the by running npx create-universal-enabler-app my-app
And just like that, you now have an Expo + Next.js app that is styled with Tailwind CSS.
The Create Universal App Stack is a universal web and native stack made by Theodo UK focused on developer experience, rapid development, and performance.
- Expo 50 for apps & TV.
- NextJS 14 (With React Native Web components) for web.
- Solito for shared navigation logic.
- NativeWind for shared styling.
- Turborepo monorepo to handle building our packages.
And optional extensions via CLI (Coming soon):
- Graphql setup for client & NextJS backend API.
- React Server Components for Next (with client side calls still working for Expo side)
- Quickstart
- Archi Diagram
- Creating a custom package
- Installing new libraries
- Data fetching architecture
- Package structure
- Install dependencies at the root level:
yarn
- Build all packages with
yarn build
- When developing, you can run
build-watch
to get packages rebuilt on save
- When developing, you can run
- Next.js local dev:
yarn web
- Runs
yarn next
- Runs
- Expo local dev:
- First, build a dev client onto your device or simulator
cd apps/expo
- Then, either
expo run:ios
, oreas build
- After building the dev client, from the root of the monorepo...
yarn native
(This runsexpo start --dev-client
)
- First, build a dev client onto your device or simulator
Tailwind.config.js error
- If you get something like this, you've most likely not built the packages correctly - Try
yarn build
.
default export is not a React Component
- Try starting the web/app clearing the cache -
yarn web-clear-cache
oryarn native -c