create-rsbuild
v2.2.1
Published
Create a new Rsbuild project
Readme
create-rsbuild
Create a new Rsbuild project.
Usage
Using npm create:
npm create rsbuild@latestUsing CLI flags:
npx create-rsbuild --dir my-project --template react
# Using abbreviations
npx create-rsbuild -d my-project -t react
# Skip Git initialization
npx create-rsbuild --dir my-project --template react --no-gitTemplate examples
The following commands create a project without interactive prompts:
- Vanilla
npx -y create-rsbuild@latest my-app -t vanilla-js
npx -y create-rsbuild@latest my-app -t vanilla-ts- React
npx -y create-rsbuild@latest my-app -t react-js
npx -y create-rsbuild@latest my-app -t react-ts- Vue
npx -y create-rsbuild@latest my-app -t vue-js
npx -y create-rsbuild@latest my-app -t vue-ts- Lit
npx -y create-rsbuild@latest my-app -t lit-js
npx -y create-rsbuild@latest my-app -t lit-ts- Preact
npx -y create-rsbuild@latest my-app -t preact-js
npx -y create-rsbuild@latest my-app -t preact-ts- Svelte
npx -y create-rsbuild@latest my-app -t svelte-js
npx -y create-rsbuild@latest my-app -t svelte-ts- Solid 1
npx -y create-rsbuild@latest my-app -t solid-js
npx -y create-rsbuild@latest my-app -t solid-ts- Solid 2
npx -y create-rsbuild@latest my-app -t solid2-js
npx -y create-rsbuild@latest my-app -t solid2-ts- Octane
npx -y create-rsbuild@latest my-app -t octane-js
npx -y create-rsbuild@latest my-app -t octane-tsDocumentation
See Documentation.
License
MIT.
