Introduction - Keep React
Table of Contents#
Vite React Application#
Setting Up Keep React in Vite React Application
Step 1: Create a Vite React Application
my-project with your preferred project name.
Step 2: Install Tailwind CSS
Step 3: Install Keep React library
Step 4: Configure Tailwind CSS
In your project's
tailwind.config.js file, insert this code snippet:
Step 5: Add Tailwind CSS to
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 new NextJS application
Ensure that you select
tailwindcss as a dependency for your application during the setup.
Step 2: Install Keep React
Step 3: Update
tailwind.config.js for Next.js
tailwind.config.js file, insert the following code into the
Step 4: Add Tailwind CSS to
Now you can import any component from
keep-react and start using it in your NextJS project.