You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project just provides an idea of what will be applied where. Include the project in the nextjs project you created.
How to use
install requirements.txt
# Include the following in your project.
- npm create-next-app
# Make sure to include tailwindcss when downloading
- npm i @heroicons/react
- npm i next-themes
Edit the tailwind.config.js file as follows
module.exports={content: [//...],// add this line your tailwind.config.jsdarkMode: 'class',theme: {//...},plugins: [],};
/app/providers.jsx
'use client'import{ThemeProvider}from'next-themes'exportdefaultfunctionProviders({ children }){return<ThemeProviderattribute='class'>{children}</ThemeProvider>}