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 the template you want to use via additional command line options. For example, to scaffold an Aleo + React project, run:
# npm 6.x
npm create leo-app@latest my-leo-app --template react
# npm 7+, extra double-dash is needed:
npm create leo-app@latest my-leo-app -- --template react
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.
Based off of create-vite: https://github.com/vitejs/vite/tree/main/packages/create-vite