{"id":13677205,"url":"https://github.com/rspack-contrib/rspack-examples","last_synced_at":"2025-02-27T10:39:16.343Z","repository":{"id":208248940,"uuid":"721103420","full_name":"rspack-contrib/rspack-examples","owner":"rspack-contrib","description":"Examples for Rspack, Rsbuild, Rspress and Rsdoctor","archived":false,"fork":false,"pushed_at":"2024-10-24T05:17:30.000Z","size":2952,"stargazers_count":74,"open_issues_count":15,"forks_count":20,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-25T06:13:19.681Z","etag":null,"topics":["rsbuild","rsdoctor","rspack","rspress"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/rspack-contrib.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-20T11:11:43.000Z","updated_at":"2024-10-24T11:26:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1ed194d-fb56-4b15-b4e7-235c85bea472","html_url":"https://github.com/rspack-contrib/rspack-examples","commit_stats":null,"previous_names":["rspack-contrib/rspack-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspack-contrib%2Frspack-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspack-contrib%2Frspack-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspack-contrib%2Frspack-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspack-contrib%2Frspack-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rspack-contrib","download_url":"https://codeload.github.com/rspack-contrib/rspack-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241004656,"owners_count":19892633,"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":["rsbuild","rsdoctor","rspack","rspress"],"created_at":"2024-08-02T13:00:38.833Z","updated_at":"2025-02-27T10:39:16.321Z","avatar_url":"https://github.com/rspack-contrib.png","language":"TypeScript","readme":"# Rspack Examples\n\nThis repository is intended to showcase examples of Rspack related stuff, such as Rspack, Rsbuild, Rspress and Rsdoctor.\n\n## List of Examples\n\n|   [Rspack](https://github.com/web-infra-dev/rspack)   |  \u003ca href=\"https://github.com/web-infra-dev/rspack\" target=\"blank\"\u003e\u003cimg src=\"https://github.com/web-infra-dev/.github/assets/7237365/02ac97ba-b722-4047-aa74-85c2509bf6e9\" width=\"400\" /\u003e\u003c/a\u003e  |  [Examples](./rspack)   |  [Document](https://rspack.dev/)  |\n| :---------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------: | :-------------------------------: |\n|  [Rsbuild](https://github.com/web-infra-dev/rsbuild)  | \u003ca href=\"https://github.com/web-infra-dev/rsbuild\" target=\"blank\"\u003e\u003cimg src=\"https://github.com/web-infra-dev/.github/assets/7237365/a74669c9-3e73-4bad-9ea4-dbe89284849a\" width=\"400\" /\u003e\u003c/a\u003e  |  [Examples](./rsbuild)  | [Document](https://rsbuild.dev/)  |\n|  [Rspress](https://github.com/web-infra-dev/rspress)  | \u003ca href=\"https://github.com/web-infra-dev/rspress\" target=\"blank\"\u003e\u003cimg src=\"https://github.com/web-infra-dev/.github/assets/7237365/aa0c19ba-b2c7-4b44-85ab-54c7ef35f914\" width=\"400\" /\u003e\u003c/a\u003e  | [Examples](./rspress/)  | [Document](https://rspress.dev/)  |\n| [Rsdoctor](https://github.com/web-infra-dev/rsdoctor) | \u003ca href=\"https://github.com/web-infra-dev/rsdoctor\" target=\"blank\"\u003e\u003cimg src=\"https://github.com/web-infra-dev/.github/assets/7237365/8131f196-f034-43a1-be8d-38ee7994792e\" width=\"400\" /\u003e\u003c/a\u003e | [Examples](./rsdoctor/) | [Document](https://rsdoctor.dev/) |\n\n## How to Use\n\n1. First, clone the current repository to your local:\n\n```bash\ngit clone git@github.com:rspack-contrib/rspack-examples.git\n```\n\n2. Then, choose the example you need, such as the Rsbuild react example:\n\n```bash\ncd rsbuild/react\n```\n\n3. Install the dependencies using `pnpm` or other package manager, then start the project:\n\n```bash\n# Use corepack to enable pnpm\ncorepack enable\npnpm i\npnpm run dev\n```\n\n4. You can fork the current project or copy the code from the current project to use it.\n","funding_links":[],"categories":["Resources"],"sub_categories":["Official Resources"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frspack-contrib%2Frspack-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frspack-contrib%2Frspack-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frspack-contrib%2Frspack-examples/lists"}