🚀 A starter template for building React Native apps with Expo, TypeScript, and NativeWind (Tailwind CSS for React Native).
- ⚡ Expo for cross-platform development
- 🎨 NativeWind (Tailwind CSS for React Native) for styling
- 🏗 TypeScript for type-safe code
- 📱 React Navigation (Stack Navigator) pre-configured
- 🔄 Safe Area Context for proper screen rendering
- 🛠 ESLint & Prettier for code quality and formatting
- Node.js (v16 or later)
- Expo CLI installed globally (
npm install -g expo-cli) - Yarn or npm
-
Clone the repository
git clone https://github.com/sameepmonsoon/nativewind-expo-ts-template.git cd nativewind-expo-ts-template -
Install dependencies
yarn install or npm install
-
Start the development server
yarn start or npm start
-
Run on your device
Scan the QR code with the Expo Go app (Android/iOS) Or run on an emulator (a for Android, i for iOS)
Customizing NativeWind Edit tailwind.config.js to customize your design system:
module.exports = {
content: [
"./app/**/*.{js,jsx,ts,tsx}",
"./components/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
colors: {
// Add your custom colors here
},
},
},
plugins: [],
};