Skip to content

Commit

Permalink
update installation scripts, title change for tutorial to match syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Chen committed Oct 4, 2023
1 parent ddebf8c commit 08f3be8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
18 changes: 4 additions & 14 deletions documentation/sdk/create-aleo-app/00_app_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,11 @@ npm create aleo-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:

```bash
# npm 6.x
npm create aleo-app@latest aleo-project --template react

# npm 7+, extra double-dash is needed:
npm create aleo-app@latest aleo-project -- --template react
```

Currently supported template presets include:
- `vanilla` (javascript)
- `react`

You can use `.` for the project name to scaffold in the current directory.
- `react` + `javascript`
- `react` + `javascript` + `leo`
- `node` + `javascript`
- `vanilla (javascript)`

## More Information

Expand Down
4 changes: 2 additions & 2 deletions documentation/sdk/create-aleo-app/01_create_aleo_app.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: tutorial
title: Create Aleo App - React Leo Tutorial
sidebar_label: React + Leo Tutorial
title: Create Aleo App - React + JS + Leo Tutorial
sidebar_label: React + JS + Leo Tutorial
---

<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>
Expand Down

0 comments on commit 08f3be8

Please sign in to comment.