{"id":21462730,"url":"https://github.com/mandrasch/ddev-vite-simple-demo","last_synced_at":"2026-02-26T18:06:04.153Z","repository":{"id":205500533,"uuid":"714364845","full_name":"mandrasch/ddev-vite-simple-demo","owner":"mandrasch","description":"Simple demo for blog article on ddev.com","archived":false,"fork":false,"pushed_at":"2025-02-04T15:27:47.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T16:28:02.350Z","etag":null,"topics":["ddev","docker","vite"],"latest_commit_sha":null,"homepage":"https://ddev.com/blog/working-with-vite-in-ddev/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mandrasch.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":"2023-11-04T17:32:44.000Z","updated_at":"2025-02-04T15:27:50.000Z","dependencies_parsed_at":"2024-04-10T18:25:40.456Z","dependency_job_id":"8be0f166-f56b-48e5-81a3-bd3e61f24621","html_url":"https://github.com/mandrasch/ddev-vite-simple-demo","commit_stats":null,"previous_names":["mandrasch/ddev-vite-simple-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandrasch%2Fddev-vite-simple-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandrasch%2Fddev-vite-simple-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandrasch%2Fddev-vite-simple-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandrasch%2Fddev-vite-simple-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mandrasch","download_url":"https://codeload.github.com/mandrasch/ddev-vite-simple-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976486,"owners_count":20377691,"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":["ddev","docker","vite"],"created_at":"2024-11-23T07:16:35.790Z","updated_at":"2026-02-26T18:05:59.112Z","avatar_url":"https://github.com/mandrasch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ddev-vite-simple-demo\n\nSimple Vite demo for blog article https://ddev.com/blog/working-with-vite-in-ddev/\n\n## Local setup\n\n```bash\nddev start\n\n# install dependencies\nddev npm install\n\n# start Vite dev server\nddev npm run dev\n```\n\nThen open https://test-vite.ddev.site/ in your browser (Or you can use `ddev launch` in another terminal)\n\n(Second site for additional hostname: https://test-vite-second-page.ddev.site/)\n\n## Troubleshooting\n\nVite dev server won't work with http://. HTTPS/SSL certificates must be properly setup beforehand and work on your laptop with DDEV. Check `ddev describe` and see DDEV installation docs regarding mkcert (https://ddev.readthedocs.io/en/latest/users/install/ddev-installation/). \n\nRun `ddev exec 'echo $DDEV_PRIMARY_URL'` =\u003e the output must be `https://test-vite.ddev.site` - not http://.\n\n## Testing\n\n- custom router port for https: `ddev config --router-https-port 8443`\n- additional hostnames\n- custom project_tld (not supported by this demo, change regex manually or see article)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandrasch%2Fddev-vite-simple-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmandrasch%2Fddev-vite-simple-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandrasch%2Fddev-vite-simple-demo/lists"}