rspack-examples
rspack-examples copied to clipboard
Examples for Rspack, Rsbuild, Rspress and Rsdoctor
Rspack Examples
This repository is intended to showcase examples of Rspack related stuff, such as Rspack, Rsbuild, Rspress and Rsdoctor.
List of Examples
| Rspack | Examples | Document | |
|---|---|---|---|
| Rsbuild | Examples | Document | |
| Rspress | Examples | Document | |
| Rsdoctor | Examples | Document |
How to Use
- First, clone the current repository to your local:
git clone [email protected]:rspack-contrib/rspack-examples.git
- Then, choose the example you need, such as the Rsbuild react example:
cd rsbuild/react
- Install the dependencies using
pnpmor other package manager, then start the project:
# Use corepack to enable pnpm
corepack enable
pnpm i
pnpm run dev
- You can fork the current project or copy the code from the current project to use it.