npx create-razzle-app --example with-typescript with-typescript
cd with-typescript
yarn start
This is an of how to use Razzle with TypeScript.
Basic razzle will uses Babel to transform TypeScript to plain JavaScript ( with babel-loader ), and uses TypeScript for type-checking.
Razzle knows how to resolve .ts
and .tsx
files out of the box.