DarkMode-VanillaJS-tailwind Tailwind Templates

Darkmode Vanillajs Tailwind

Created simple dark-mode app with vanilla js and tailwind css

npm init -y -----> to generate package.json file, so we can add our dependency we need

follow: https://www.youtube.com/watch?v=4OM26EUodFE and https://tailwindcss.com/docs/installation

for tailwid config file : npx tailwindcss init

postcss styles.css -o compiled.css ( add in packagejson)

when I run command : npm run dev, the public folder and app.css is automatically generated for me ( I DONT have to create manually)

Top categories

Loading Svelte Themes