Skip to content

Commit b99ba00

Browse files
feat: fix create-dojo
1 parent e6fa40d commit b99ba00

File tree

1 file changed

+7
-5
lines changed
  • packages/create-dojo/src/commands

1 file changed

+7
-5
lines changed

packages/create-dojo/src/commands/start.ts

+7-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ import https from "https";
66
import { input, select } from "@inquirer/prompts";
77

88
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" },
1315
];
1416

1517
async function init(projectName: string, cwd: string, template: string) {
@@ -26,7 +28,7 @@ async function init(projectName: string, cwd: string, template: string) {
2628
console.log(`Downloading ${template} into client directory...`);
2729
const cloneResult = spawn.sync("npx", [
2830
"degit",
29-
`dojoengine/dojo.js/clients/react/${template}`,
31+
`dojoengine/dojo.js/examples/${template}`,
3032
clientPath,
3133
], { stdio: "inherit" });
3234

0 commit comments

Comments
 (0)