{"id":18031661,"url":"https://github.com/oguilleux/vite-wordpress-starter-theme","last_synced_at":"2025-03-27T05:30:53.072Z","repository":{"id":216801885,"uuid":"739148075","full_name":"oguilleux/vite-wordpress-starter-theme","owner":"oguilleux","description":"A WordPress starter theme using Vite.js","archived":false,"fork":false,"pushed_at":"2024-10-06T11:47:17.000Z","size":367,"stargazers_count":21,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-26T13:48:24.680Z","etag":null,"topics":["es6","es6-javascript","javascript","js","php","vite","vitejs","wordpress","wordpress-development","wordpress-theme"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/oguilleux.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}},"created_at":"2024-01-04T22:09:47.000Z","updated_at":"2025-03-13T03:08:22.000Z","dependencies_parsed_at":"2024-08-01T14:06:26.603Z","dependency_job_id":null,"html_url":"https://github.com/oguilleux/vite-wordpress-starter-theme","commit_stats":null,"previous_names":["oguilleux/vite-wordpress-starter-theme"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oguilleux%2Fvite-wordpress-starter-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oguilleux%2Fvite-wordpress-starter-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oguilleux%2Fvite-wordpress-starter-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oguilleux%2Fvite-wordpress-starter-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oguilleux","download_url":"https://codeload.github.com/oguilleux/vite-wordpress-starter-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791328,"owners_count":20672664,"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":["es6","es6-javascript","javascript","js","php","vite","vitejs","wordpress","wordpress-development","wordpress-theme"],"created_at":"2024-10-30T10:10:13.370Z","updated_at":"2025-03-27T05:30:52.063Z","avatar_url":"https://github.com/oguilleux.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Vite.js starter theme\n\n![](screenshot.png)\n\n## Under the hood\n\n- [ES6](https://github.com/lukehoban/es6features#readme) for JavaScript\n- [SASS](http://sass-lang.com/) preprocessor for CSS following [SASS Guidelines](https://sass-guidelin.es/#the-7-1-pattern)\n- [Bootstrap 5](https://getbootstrap.com/docs/5.2/getting-started/introduction/) as CSS framework ([customizable with SASS](https://getbootstrap.com/docs/5.2/customize/sass/))\n- [Vite.js](https://vitejs.dev/) to compile theme assets and provide live reload\n\n## Requirements\n\n* [Node](https://nodejs.org/)\n\n## Usage\n\nFirst, clone this repository in your WordPress themes directory.\n\nThen, run the following commands in the theme's directory :\n\n\tnpm install\n\nLaunch your watch for assets with :\n\n\tnpm run dev\n\nFor production sites, create your build with :\n\n\tnpm run build\n\n## Vite \u0026 WordPress\n- All the static assets used in scss or js files (images, fonts, etc.) are copied as-is to the `dist` directory. The other images used directly in php files are \u003cu\u003enot copied\u003c/u\u003e.\n- To detect dev mode in php there is no `dist` directory, it is added on build.\n\n## Troubleshooting [dev mode]\n\n- Vite needs to know the root path of your project so \u003cu\u003eyou cannot use a subdirectory\u003c/u\u003e as the root of your WordPress installation.\n- If you haven't started the dev server, your assets will not be compiled just `npm run dev` and refresh page.\n- In your scss files use the alias `@` to target the `static/` directory. ie : `background-image: url('@/img/logo.png');`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foguilleux%2Fvite-wordpress-starter-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foguilleux%2Fvite-wordpress-starter-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foguilleux%2Fvite-wordpress-starter-theme/lists"}