Made by @HashRei
Easy and persistent dark mode implementation for Nex.js apps with Next-them and Tailwind CSS. No flickering !
Explanation video => Dark mode with Next-theme & Tailwind CSS | HashRei 📽
✍️ Article: https://tinyurl.com/2p8f2t52
- git
- You'll know you did it right if you can run
git --version
and you see a response likegit version x.x.x
- You'll know you did it right if you can run
- Nodejs & npm
- You'll know you've installed nodejs right if you can run:
node --version
And get an ouput like:vx.x.x
- You'll know you've installed npx right if you can run:
npm --version
And get an ouput like:x.x.x
- You'll know you've installed nodejs right if you can run:
- Yarn instead of
npm
- You'll know you've installed yarn right if you can run:
yarn --version
And get an output like:x.x.x
- You might need to install it with npm
- You'll know you've installed yarn right if you can run:
- Clone and install dependencies
git clone ggit@github.com:HashRei/dark-mode-next-theme-tailwind.git
cd dark-mode-next-theme-tailwind
yarn
- Run
yarn dev
Made by @HashRei