@@ -6,10 +6,12 @@ import https from "https";
6
6
import { input , select } from "@inquirer/prompts" ;
7
7
8
8
const templates = [
9
- { value : "react-app" , description : "React app using Dojo" } ,
10
- { value : "react-phaser-example" , description : "React/Phaser app using Dojo" } ,
11
- { value : "react-pwa-app" , description : "React Progressive Web Apps using Dojo" } ,
12
- { value : "react-threejs" , description : "React Threejs using Dojo" } ,
9
+ { value : "example-vite-react-sdk" , description : "React app using Dojo SDK" } ,
10
+ { value : "example-vite-react-phaser-recs" , description : "React/Phaser app using Dojo RECS" } ,
11
+ { value : "example-vite-react-pwa-recs" , description : "React Progressive Web App using Dojo RECS" } ,
12
+ { value : "example-vite-react-threejs-recs" , description : "React Three.js app using Dojo RECS" } ,
13
+ { value : "example-vite-react-sdk" , description : "Basic react app using the sdk" } ,
14
+ { value : "example-vue-app-recs" , description : "Basic vite app using RECS" } ,
13
15
] ;
14
16
15
17
async function init ( projectName : string , cwd : string , template : string ) {
@@ -26,7 +28,7 @@ async function init(projectName: string, cwd: string, template: string) {
26
28
console . log ( `Downloading ${ template } into client directory...` ) ;
27
29
const cloneResult = spawn . sync ( "npx" , [
28
30
"degit" ,
29
- `dojoengine/dojo.js/clients/react /${ template } ` ,
31
+ `dojoengine/dojo.js/examples /${ template } ` ,
30
32
clientPath ,
31
33
] , { stdio : "inherit" } ) ;
32
34
0 commit comments