diff --git a/src/actions/create-react-app/CreateReactApp.ts b/src/actions/create-react-app/CreateReactApp.ts index 8e8f6086..f0fbea41 100644 --- a/src/actions/create-react-app/CreateReactApp.ts +++ b/src/actions/create-react-app/CreateReactApp.ts @@ -69,7 +69,7 @@ export default class CreateReactApp implements IAction { // Create app info('Creating app...'); - await exec(createReactAppCmd + ' ' + realpath + ' --typescript', dirname(realpath)); + await exec(createReactAppCmd + ' ' + realpath + ' --template typescript', dirname(realpath)); success('App has been created in "' + realpath + '"'); } @@ -142,4 +142,4 @@ export default class CreateReactApp implements IAction { await this.generateReadme.run({ realpath, mustPrompt: true }); } -} \ No newline at end of file +}