Skip to content

Commit

Permalink
Update Create-Aleo-App
Browse files Browse the repository at this point in the history
Installation commands updated depends on the current command usage. I created 2 PR to update some of the templates:

ProvableHQ/sdk#880
ProvableHQ/sdk#879
  • Loading branch information
oguzutku1745 authored Apr 26, 2024
1 parent 814b375 commit 56db5e6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/build/leo/aleo-sdk/create-aleo-app/installation.md
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
# Create Aleo App
# Installation

<a href="https://www.npmjs.com/package/create-aleo-app"> <img alt="Create Aleo App" src="https://img.shields.io/npm/l/create-aleo-app?label=NPM%20-%20Create-Aleo-App&labelColor=green&color=blue" /></a>

## Scaffolding Your First Aleo Project

:::note
**Compatibility:**
[Node.js](https://nodejs.org/en/) version 18+
:::

With NPM:

```bash
npm create aleo-app@latest
```

1. Enter the project name.
2. This will prompt you to choose a preferred framework from the following options:
- `React`
- `Node.js`
- `Vanilla (JavaScript)`

3. If you choose `React` as your framework, the supported templates are:
- `JavaScript` + `Leo`
- `TypeScript` + `Leo`
- `TypeScript` + `Next.js`

## More Information

Based off of create-vite: https://github.com/vitejs/vite/tree/main/packages/create-vite

0 comments on commit 56db5e6

Please sign in to comment.