Installation
Requirementsโ
Before you begin, you need to install the following tools:
Setupโ
For a simplified setup, Scaffold-Stylus offers a npx tool that guides you interactively through the setup:
npx create-stylus@latest
You will be presented with a series of prompts:
- Project Name: Enter a name for your project, e.g., my-dapp-example.
Once the setup is complete, navigate to the project directory:
cd project-name
If you want to use extensions, you can add the -e flag followed by the extension name:
npx create-stylus@latest -e extension-name
For more information about available extensions and how to use them, check out the Extensions section
Alternative: Start from GitHubโ
If you prefer, you can start by cloning the Scaffold-Stylus repository directly and running it locally. This gives you full access to all source code and configuration.
- Clone the repository and install dependencies:
git clone https://github.com/Arb-Stylus/scaffold-stylus.git
cd scaffold-stylus
yarn install
# Initialize submodules (required for Nitro dev node)
git submodule update --init --recursive