HomePage https://esterified.github.io/Tailwind-Koala
Instagram Copy https://esterified.github.io/Tailwind-Koala/instagram
- Initialize NPM
- Install tailwindcss using npm
- Initialize tailwindcss config with full config
- Compile the tailwind css file
- Include the tailwind stylesheet in your webpages
- Implement blocks from TailBlocks.
-
Run command
npm init -yes -
Run command
npm install tailwindcss -
You can add the following scripts in your
package.jsonfile"tailwind-config":"npx tailwindcss init --full", "tailwind":"npx tailwindcss -i ./src/tailwind.css -o ./css/tailwind.css",npx tailwindcss init --fullwill generate thetailwind.config.jsfile with all customization ptions for the theme. -
npm run tailwind-configandnpm run tailwind -
<link href="./css/tailwind.css" rel="stylesheet"> -
Implement blocks from TailBlocks.
Also visit Tailwindcss for more info.