create-leo-app
Scaffolding Your First Aleo Project
Compatibility Note:
Please use Node.js version 18+
With NPM:
npm create leo-app@latest
Then follow the prompts!
You can also directly specify the project name and template you want to use via additional command line options. For example, to scaffold a Leo project using the Vanilla JavaScript template, run:
npm create leo-app@latest my-leo-app --template vanilla
npm create leo-app@latest my-leo-app -- --template vanilla
Currently supported template presets include:
Vanilla
React (JavaScript + Leo, React + TypeScript, or TypeScript + Next.js)
Node.js
You can use . for the project name to scaffold in the current directory.
More Information
Based off of create-vite: https://github.com/vitejs/vite/tree/main/packages/create-vite