Answers for "install tailwind css to react"

3

how to properly install tailwind css in react

@import "tailwindcss/base";

@import "tailwindcss/components";

@import "tailwindcss/utilities";
Posted by: Guest on December-24-2020
0

react tailwind css components npm

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'react-tailwindcss-components';
 
function App() {
  return (
    <Button className="shadow-2xl border-green-400 bg-green-400 rounded font-bold text-white">
      Hello World
    </Button>
  );
}
 
ReactDOM.render(<App />, document.querySelector('#app'));
Posted by: Guest on March-30-2022

Code answers related to "install tailwind css to react"

Code answers related to "Javascript"

Browse Popular Code Answers by Language