Tailwind with Expo/NextJS

Has anyone successfully managed to get Tailwind to work with the Expo/NextJS setup? I have gotten the latter to work but can’t seem to get Tailwind working even though I have tried the various Tailwind modules for react native… always getting a “Cannot use import statement outside a module”. Do you think this related to Expo or a React Native issue?