# rspack-examples
**Repository Path**: wzc0x0/rspack-examples
## Basic Information
- **Project Name**: rspack-examples
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-06-14
- **Last Updated**: 2024-06-14
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## 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 git@github.com: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.