You can create a Rspress project using the create-pareto
cli:
Input the project directory name, and then the cli will create the project for you.
Since React 19 has not been released yet, you need to create a new .npmrc file in the root directory and add
Start the local development service with the following command:
For the dev command, you can specify the port number or host of the development service with the --port
or --host
parameter, such as pareto dev --port 8080 --host 0.0.0.0
.
Build the production bundle with the following command :
By default, Pareto will set .pareto
as the output directory.
Start the production bundle with the following command :