Using Ionic React without TypeScript


if I use ionic create to create ionic app with react, it uses typescript. Is it possible to create without typescript?


No, however you can simply rename all *.ts or *.tsx files to *.js, remove any TypeScript-specific features and everything should work with regular JavaScript as well.

1 Like

Unfortunately, it says that index.tsx is not found :frowning:

You’ll need to restart the dev server if you renamed the files while it was running.

Look in you package.json file and see if this line needs to be edited

  "main": "src/index.tsx",