setup-nativewind
v1.2.1
Published
One command NativeWind setup for Expo and React Native
Downloads
777
Maintainers
Readme
setup-nativewind
CLI tool to instantly set up NativeWind v4 for Expo and React Native projects
Usage
npx setup-nativewindWhat it does
- ✅ Auto detects your project type (Expo managed, Expo bare, React Native CLI)
- ✅ Asks if your project is JavaScript or TypeScript
- ✅ Installs
nativewindandtailwindcssautomatically - ✅ Creates all required config files
- ✅ Smart merges existing
babel.config.jsandmetro.config.js - ✅ Creates
nativewind-env.d.tsfor TypeScript projects - ✅ Auto updates
tsconfig.jsonfor TypeScript projects
Supported Project Types
| Project Type | JavaScript | TypeScript | | ---------------- | ---------- | ---------- | | Expo Managed | ✅ | ✅ | | Expo Bare | ✅ | ✅ | | React Native CLI | ✅ | ✅ |
Requirements
- Node.js 16+
- An existing Expo or React Native project
License
MIT
