This is a React Native application that demonstrates the usage of the Tailwind CSS library on an Amazon Fire tablet using the twrnc adapter.
Clone this repository:
git clone https://github.com/mosesroth/tailwind-fire-tablet.git
cd tailwind-fire-tablet
Install dependencies:
npm install
Start the development server:
npx expo start
To run on an Amazon Fire tablet:
npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
cd android && ./gradlew assembleDebug
adb install -r app/build/outputs/apk/debug/app-debug.apk
The main component demonstrating Tailwind CSS functionality is in app/tailwind-demo.js
.
Tailwind CSS is a utility-first CSS framework that can be used in React Native through adapters like twrnc
(Tailwind React Native Classnames). This allows you to use familiar Tailwind class names in your React Native components.
MIT