screens/HomeScreen.js: Use process(css).then(cb) to work with async plugins
Here is my HomeScreen.js
import { View, Text } from 'react-native
import React from 'react'
export default function HomeScreen() {
return (
<View>
<Text className="text-red">HomeScreen</Text>
</View>
)
}
I am trying to use tailwindcss. Here is the link I am following.
2
Answers
I solved this error by changing the version to
3.3.2
and usingyarn
instead ofnpm
.Here are the commands I followed:
I have also got the same error when i install the tailwindcss with
npm
.I have solved this by downgrading the [email protected]