Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rspack-contrib/rspack-examples
Examples for Rspack, Rsbuild, Rspress and Rsdoctor
https://github.com/rspack-contrib/rspack-examples
rsbuild rsdoctor rspack rspress
Last synced: 1 day ago
JSON representation
Examples for Rspack, Rsbuild, Rspress and Rsdoctor
- Host: GitHub
- URL: https://github.com/rspack-contrib/rspack-examples
- Owner: rspack-contrib
- License: mit
- Created: 2023-11-20T11:11:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-24T05:17:30.000Z (2 months ago)
- Last Synced: 2024-10-25T06:13:19.681Z (2 months ago)
- Topics: rsbuild, rsdoctor, rspack, rspress
- Language: TypeScript
- Homepage:
- Size: 2.82 MB
- Stars: 74
- Watchers: 5
- Forks: 20
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rspack - Rspack Examples
README
# Rspack Examples
This repository is intended to showcase examples of Rspack related stuff, such as Rspack, Rsbuild, Rspress and Rsdoctor.
## List of Examples
| [Rspack](https://github.com/web-infra-dev/rspack) | | [Examples](./rspack) | [Document](https://rspack.dev/) |
| :---------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------: | :-------------------------------: |
| [Rsbuild](https://github.com/web-infra-dev/rsbuild) | | [Examples](./rsbuild) | [Document](https://rsbuild.dev/) |
| [Rspress](https://github.com/web-infra-dev/rspress) | | [Examples](./rspress/) | [Document](https://rspress.dev/) |
| [Rsdoctor](https://github.com/web-infra-dev/rsdoctor) | | [Examples](./rsdoctor/) | [Document](https://rsdoctor.dev/) |## How to Use
1. First, clone the current repository to your local:
```bash
git clone [email protected]:rspack-contrib/rspack-examples.git
```2. Then, choose the example you need, such as the Rsbuild react example:
```bash
cd rsbuild/react
```3. Install the dependencies using `pnpm` or other package manager, then start the project:
```bash
# Use corepack to enable pnpm
corepack enable
pnpm i
pnpm run dev
```4. You can fork the current project or copy the code from the current project to use it.