diff --git a/docs/README.md b/docs/README.md index 2ed0510..0a7c517 100644 --- a/docs/README.md +++ b/docs/README.md @@ -339,6 +339,12 @@ Serlina has built in TypeScript support with `ts-loader`. All your pages with `. > ts-loader -> babel-loader +Remember to install TypeScript and type definitions by your self: + +``` +npm i typescript @types/react @types/react-dom +``` + `ts-loader` will read `/tsconfig.json` as config file.

Feel free to set `"target": "es6"` in your tsconfig.