Write React app with TypeScript in .ts
and .tsx
files. Egg-ts not support yet.
$ yarn
$ yarn dev
then navigate to http://127.0.0.1:6001/
- add a new page in /client folder, eg.
/client/test.tsx
- start app:
npm run dev
- navigate to http://127.0.0.1:6001/test