Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Create-Aleo-App #9

Merged
merged 2 commits into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 on create-vite: https://github.com/vitejs/vite/tree/main/packages/create-vite