This repository contains comprehensive examples that demonstrate the Rstack ecosystem tools, including Rspack, Rsbuild, Rspress, and Rsdoctor. These examples showcase common implementation patterns and best practices to help developers leverage the full potential of the Rstack toolchain.
Rspack | Examples | Document | |
---|---|---|---|
Rsbuild | Examples | Document | |
Rspress | Examples | Document | |
Rsdoctor | Examples | Document | |
Rslib | Examples | Document |
- First, clone the current repository to your local:
git clone git@github.com:rspack-contrib/rstack-examples.git
- Then, choose the example you need, such as the Rsbuild react example:
cd rsbuild/react
- Install the dependencies using
pnpm
or 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.