Table of Contents#
Vite React Application#
Setting Up Keep React in Vite React Application
Step 1
Create a Vite React Application
Replace `my-project` with your preferred project name.
Step 2
Install Tailwind CSS
Step 3
Install Keep React library
Step 4
Configure Tailwind CSS
Open the `tailwind.config.js` file in your project. Wrap your config with the keepTheme function to achieve keep-react configuration.
Step 5
Add Tailwind CSS to index.css
Congratulations! You've now successfully set up Keep React in your Vite React application. You can begin using components from keep-react
in your project.
Next JS Application#
You can easily integrate keep-react
library into your Next.js application.
Step 1
Create a NextJS application
Ensure that you select `tailwindcss` as a dependency for your application during the setup.
Step 2
Install Keep React library
Step 3
Configure Tailwind CSS
Open the `tailwind.config.js` file in your project. Wrap your config with the keepTheme function to achieve keep-react configuration.
Step 4
Add Tailwind CSS to `app/globals.css` File
Now you can import any component from keep-react
and start using it in your NextJS project.