{"id":18035665,"url":"https://github.com/wpperformance/press-wind","last_synced_at":"2025-04-05T09:05:11.111Z","repository":{"id":62326522,"uuid":"522980467","full_name":"wpperformance/press-wind","owner":"wpperformance","description":"Starter theme WordPress with Tailwind CSS and Vite JS","archived":false,"fork":false,"pushed_at":"2024-10-30T10:28:48.000Z","size":2483,"stargazers_count":141,"open_issues_count":1,"forks_count":14,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T08:04:28.854Z","etag":null,"topics":["gutenberg","gutenberg-compatible","postcss","tailwind-css","tailwindcss","vite","vitejs","wordpress","wordpress-development","wordpress-theme"],"latest_commit_sha":null,"homepage":"https://presswind-doc.wp-performance.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wpperformance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-08-09T14:19:01.000Z","updated_at":"2025-03-03T13:56:59.000Z","dependencies_parsed_at":"2024-10-30T11:46:42.532Z","dependency_job_id":"ac1efa05-cea4-421f-aef9-df465c57b9f5","html_url":"https://github.com/wpperformance/press-wind","commit_stats":{"total_commits":69,"total_committers":3,"mean_commits":23.0,"dds":"0.13043478260869568","last_synced_commit":"2e3771a87b1ccd52534c37c9797610f37737cc07"},"previous_names":["wpperformance/press-wind"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpperformance%2Fpress-wind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpperformance%2Fpress-wind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpperformance%2Fpress-wind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpperformance%2Fpress-wind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpperformance","download_url":"https://codeload.github.com/wpperformance/press-wind/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312077,"owners_count":20918344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["gutenberg","gutenberg-compatible","postcss","tailwind-css","tailwindcss","vite","vitejs","wordpress","wordpress-development","wordpress-theme"],"created_at":"2024-10-30T12:09:08.678Z","updated_at":"2025-04-05T09:05:11.083Z","avatar_url":"https://github.com/wpperformance.png","language":"JavaScript","readme":"# Press Wind FSE\n\nMinimal starter theme for WordPress with Tailwind CSS and Vite JS for Full\nSite Editing.\n\n## Concept\n\nThis theme is build for work with gutenberg.\nIt's thinked for use concept of pattern.\nA example of pattern is in ```patterns``` directory.\nThe theme.json is used for the settings of theme.\nThe fonts pass by the new WP font loader. Not by CSS or TailwindCSS.\n\n## plugins required\n\nFor use ViteJS\n\n- \u003chttps://github.com/WP-Performance/presswind-helpers\u003e\n\n## Plugin recommended\n\nor disable lots of WP core functionality\n\n- \u003chttps://github.com/WP-Performance/deaktiver\u003e\n\n## PHP/HTML files\n\nThis theme is developed for use Full Site Editing.\n\n## Dependencies\n\n- [PostCSS](https://postcss.org/)\n- [TailwindCSS](https://tailwindcss.com/) - optional. You can use only postcss or lightningCSS.\n- [ViteJS](https://vitejs.dev/)\n\n## Requirement\n\n- Node JS (\u003e18)\n- Npm, yarn, pnpm or Bun !\n\n## Quick Start\n\nIn the root of press-wind theme\n\nInstall dependencies\n\n```\nyarn or bun install\n```\n\nIn your ```wp-config.php``` file, add :\n\n```\n# for dev\ndefine('WP_ENV', 'development');\n# for production\ndefine('WP_ENV', 'production');\n```\n\n### With Vitejs, you have a dev server include. When you change a file, the browser reload the page\n\n## Scripts\n\nLaunch dev mode\n\n```\nyarn dev\n```\n\nBuild the assets\n\n```\nyarn build\n```\n\n## Enqueue Scripts and Styles\n\nThe script and the style are automatically enqueued in theme.\nCode present in functions.php\n\n```php\n/**\n * init assets front\n */\nif (class_exists('PressWind\\PWVite')) {\n\n    \\PressWind\\PWVite::init(port: 3000, path: '');\n    /**\n     * init assets admin\n     */\n    \\PressWind\\PWVite::init(\n        port: 4444,\n        path: '/admin',\n        position: 'editor',\n        is_ts: false\n    );\n}\n```\n\n## CSS writing style\n\nYou must use ```@apply``` method for create the CSS style\nIt's better for reusability of your code and the readability.\n\nExample :\n\n```\n.site-header {\n  @apply flex my-4 lg:my-10 lg:items-center lg:flex-row flex-col;\n}\n```\n\n**But you can use the method by the class attribute, if you prefer. Be careful\nto keep maintainable project.**\n\n## Screenshot\n\n![https://github.com/WP-Performance/press-wind/blob/main/screenshot.png](https://github.com/WP-Performance/press-wind/blob/main/screenshot.png)\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpperformance%2Fpress-wind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpperformance%2Fpress-wind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpperformance%2Fpress-wind/lists"}