Hey! thanks,
Well for now you need add some dev dependencies for typescripts, like you need to install npm i --save-dev typescript @types/react @types/react-dom awesome-typescript-loader and add a typescript configuration file like tsconfig.json.
Change the .jsx files to .tsx and you can find plenty of article explaining the setup of tsconfig.json.
Soon I'll also add a comprehensive post for typescript setup as well.
Hey, nice tutorial, how would I be able to do this for a React app with TypeScript?
Hey! thanks,
Well for now you need add some dev dependencies for typescripts, like you need to install
npm i --save-dev typescript @types/react @types/react-dom awesome-typescript-loader
and add a typescript configuration file like tsconfig.json.Change the
.jsx
files to.tsx
and you can find plenty of article explaining the setup of tsconfig.json.Soon I'll also add a comprehensive post for typescript setup as well.
Thank you!
github.com/Goran7777/React_starter_ts