question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

import React from 'react';
import {SafeAreaView, View, Text} from 'react-native';
import {useTailwind, TailwindProvider} from 'tailwind-rn';
import utilities from './tailwind.json';

const Main = () => {
	const tailwind = useTailwind();

	return (
		<SafeAreaView style={tailwind('h-full')}>
			<View style={tailwind('pt-12 items-center')}>
				<View style={tailwind('bg-blue-200 px-3 py-1 rounded-full')}>
					<Text style={tailwind('text-blue-800 font-semibold')}>
						Hello Tailwind
					</Text>
				</View>
			</View>
		</SafeAreaView>
	);
};

const App = () => (
	<TailwindProvider utilities={utilities}>
		<Main />
	</TailwindProvider>
);

export default App;

after to install

npm install tailwind-rn

npx setup-tailwind-rn

I’v got this message

Unsupported Tailwind class: "h-full" 

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
daviddunningtoncommented, Feb 28, 2022

I’m having the same issue did you get this working?

0reactions
daviddunningtoncommented, Mar 30, 2022

corePlugins: require(“tailwind-rn/unsupported-core-plugins”),

I have that in my config and my tailwind.json is still empty. @daviddunnington

What do you have in your content array inside the tailwind.config.js?

content: [
         // Add the files you want to compile from here, in my example, I use screen and app.tsx but you can literally add any path to any directory/file. 
        "./screens/**/*.{ts,tsx,js}",
        "./App.tsx"
]
Read more comments on GitHub >

github_iconTop Results From Across the Web

Basic pbinstall Information in PMUL - BeyondTrust
pbinstall can be run from a Privilege Management for Unix and Linux distribution CD or from an unpacked tar file. The pbinstall install...
Read more >
Can't install PB assembly with bioconda, packages not found!
The latest pre-release, experts-only linux/mac binaries can be installed via bioconda. conda install pb-assembly.
Read more >
PB 2019 Install Issue - Appeon Community
I downloaded the "offline installer" for PB + SnapDevelop (aka. Cloud Edition) . Installer downloads to subfolder within C:\ProgramDaata\Appeon.
Read more >
How to Install module name pb? - python - Stack Overflow
When I am Running code but it is showing error message because it is showing no module name, how to install pb name...
Read more >
US installation guideline - linea pb - La Marzocco USA
U.S. installation guideline linea pb. Dimensions ... suggested | † regulate as needed | ‡ This machine must be installed in accordance with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found