{"id":20559294,"url":"https://github.com/techakayy/pg-vite-tailwindcss","last_synced_at":"2026-02-23T17:39:44.283Z","repository":{"id":211598813,"uuid":"728445728","full_name":"TechAkayy/pg-vite-tailwindcss","owner":"TechAkayy","description":"Pinegrow external build for Tailwindcss with Vite (advanced)","archived":false,"fork":false,"pushed_at":"2025-02-19T00:55:19.000Z","size":1598,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-23T23:56:02.297Z","etag":null,"topics":["community-templates","pinegrow","tailwindcss","vite","wordpress"],"latest_commit_sha":null,"homepage":"https://pg-vite-tailwindcss.netlify.app/","language":"JavaScript","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/TechAkayy.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-07T00:41:41.000Z","updated_at":"2025-05-07T14:35:05.000Z","dependencies_parsed_at":"2024-09-18T13:00:50.286Z","dependency_job_id":"55b5b7a5-ba35-4b4b-b3df-3da18a68952a","html_url":"https://github.com/TechAkayy/pg-vite-tailwindcss","commit_stats":null,"previous_names":["techakayy/pg-vite-tailwindcss"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TechAkayy/pg-vite-tailwindcss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechAkayy%2Fpg-vite-tailwindcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechAkayy%2Fpg-vite-tailwindcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechAkayy%2Fpg-vite-tailwindcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechAkayy%2Fpg-vite-tailwindcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechAkayy","download_url":"https://codeload.github.com/TechAkayy/pg-vite-tailwindcss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechAkayy%2Fpg-vite-tailwindcss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29749224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["community-templates","pinegrow","tailwindcss","vite","wordpress"],"created_at":"2024-11-16T03:50:16.532Z","updated_at":"2026-02-23T17:39:44.259Z","avatar_url":"https://github.com/TechAkayy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pinegrow External Build Process with Vite - A Community Template\n\nThis vite-powered external build process outputs both `tailwind.css` and `tailwind_for_wp_editor.css`, allowing the latter to be used in WordPress blocks.\n\nWhile the `tailwind.css` build includes Tailwind preflight, `tailwind_for_wp_editor.css` omits the preflight styles since they do not integrate well with WordPress blocks.\n\nA custom Vite plugin, `vite-plugin-pg.js`, serves this purpose and utilizes environment variables (`LIB` and `WP`) passed from the package.json script commands (`watch` and `watch-wp`). The `WP` environment variable is then used in `tailwind.config.js` to conditionally enable or disable Tailwind preflight.\n\nThe external build process is node-based, so it only works with the Pinegrow Desktop app. It provides users the advantage of customizing the Tailwind config to any extent, using Tailwind plugins, and employing @apply directives, among other features.\n\nNote that this external build workflow is useful when the primary method of Tailwind styling is through the Pinegrow Desktop app rather than the Pinegrow WP Plugin. Once the external build is selected, reverting to the internal compiler will fallback to using basic Tailwind directives, so it is not recommended.\n\n## Usage\n\n### Start the builds in watch mode\n\n```bash\nnpm run dev # chains multiple watch commands\n```\n\n### Preview\n\n```bash\nnpm run now # build \u0026 preview\n```\n\n### Build (for non-wordpress sites)\n\n```bash\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechakayy%2Fpg-vite-tailwindcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechakayy%2Fpg-vite-tailwindcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechakayy%2Fpg-vite-tailwindcss/lists"}