💫 @Fronchef offers you the best custom made websites according to your needs
Check Out Amazing offer and events for you
Here is a installation guide to help you
Our Next.js and React.js components are built using Tailwind CSS. These components offer flexibility and customization using utility-first CSS classes. To get started, follow the Tailwind configuration guide by
Make sure you install any necessary dependencies specific to the component you want to use.
Our static components are based on vanilla CSS. You will find three files: JavaScript, HTML, and CSS. Simply copy and use them in your project, without any additional configuration.
Follow the steps below to configure Tailwind CSS in a React or Next.js project:
npx create-react-app my-project
cd my-project
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init
Add the following to your tailwind.config.js
file:
module.exports = {
content: [
'./src/**/*.{js,jsx,ts,tsx}',
],
theme: {
extend: {},
},
plugins: [],
}
In your src/index.css
or globals.css
file, add:
@tailwind base;
@tailwind components;
@tailwind utilities;
Now you can start using Tailwind classes to style your React or Next.js components!