{"id":19958117,"url":"https://github.com/talha4t/tailwindcss-setup","last_synced_at":"2026-06-14T07:32:58.200Z","repository":{"id":226359354,"uuid":"768477528","full_name":"talha4t/tailwindcss-setup","owner":"talha4t","description":"How to setup tailwind css","archived":false,"fork":false,"pushed_at":"2024-03-07T06:45:10.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T16:14:33.810Z","etag":null,"topics":["setup","tailwindcss","tailwindcss-template"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/talha4t.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-07T06:45:02.000Z","updated_at":"2024-03-07T06:45:55.000Z","dependencies_parsed_at":"2024-03-07T07:48:42.967Z","dependency_job_id":null,"html_url":"https://github.com/talha4t/tailwindcss-setup","commit_stats":null,"previous_names":["talha4t/tailwindcss-setup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/talha4t/tailwindcss-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talha4t%2Ftailwindcss-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talha4t%2Ftailwindcss-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talha4t%2Ftailwindcss-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talha4t%2Ftailwindcss-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/talha4t","download_url":"https://codeload.github.com/talha4t/tailwindcss-setup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talha4t%2Ftailwindcss-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34313515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["setup","tailwindcss","tailwindcss-template"],"created_at":"2024-11-13T01:40:22.494Z","updated_at":"2026-06-14T07:32:58.184Z","avatar_url":"https://github.com/talha4t.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## How to stup Tailwind CSS\n\nStep 1: Run the following commands\n\n```\nnpm init\nnpm install -D tailwindcss\nnpx tailwindcss init  \n```\n\nStep 2: Update ``tailwind.conf.js`` file to include this line: \n```\ncontent: [\"./index.html\",\"./src/**/*.{html,js}\"],\n```  \nIt'll include your all html \u0026 js file even if it's in the folder named src\n\nStep 3: Create src/input.css to include  \n```\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n```  \n\nStep 4: Run the following command:\n```\nnpx tailwindcss -i ./src/input.css -o ./dist/output.css --watch\n```  \nNow it will start to build.  \n\nIf you don't want to run the step 4 command you easily copy this command and go to ``package.json`` file and paste inside the scripts.  \n```\n\"build\" : \"npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch\",\n```  \nSo it will create a script name called build. Then you just need to run this following command : \n```\nnpm run build\n```  \n\nAfter that it will start to build and you are good to go.  \n\nStep 5: In the final step you have to create a html file and link up the output file  \n```\n\u003clink rel=\"stylesheet\" href=\"./dist/output.css\"\u003e\n```\n\n---\n\n#### Note that you can name your files and folders whatever you want\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalha4t%2Ftailwindcss-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftalha4t%2Ftailwindcss-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalha4t%2Ftailwindcss-setup/lists"}