Skip to content

Commit 97ff086

Browse files
make vite work vanilla template
1 parent 2975260 commit 97ff086

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

create-leo-app/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ npm create leo-app@latest
1313

1414
Then follow the prompts!
1515

16-
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:
16+
You can also directly specify the project name you want to use via additional command line options. For example, to scaffold a Leo project, run:
1717

1818
```bash
1919
# npm 6.x
20-
npm create leo-app@latest my-leo-app --template react
20+
npm create leo-app@latest my-leo-app
2121

2222
# npm 7+, extra double-dash is needed:
23-
npm create leo-app@latest my-leo-app -- --template react
23+
npm create leo-app@latest my-leo-app
2424
```
2525

2626
Currently supported template presets include:

create-leo-app/template-vanilla/vite.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { defineConfig } from "vite";
2+
23
export default defineConfig({
4+
assetsInclude: ['**/*.wasm'],
35
optimizeDeps: {
4-
exclude: ["@provablehq/wasm", "@provablehq/sdk"],
6+
exclude: ["@provablehq/wasm",],
57
},
68
server: {
79
headers: {

0 commit comments

Comments
 (0)