From f23e9f8afedb2930208251d21e9675bf260363c9 Mon Sep 17 00:00:00 2001 From: Randy Date: Wed, 7 Nov 2018 18:22:34 +0800 Subject: [PATCH] update doc --- docs/README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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.