Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
djyde committed Nov 7, 2018
1 parent 2c62fee commit f23e9f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<baseDir>/tsconfig.json` as config file.

<p class="warning">Feel free to set `"target": "es6"` in your tsconfig.</p>
Expand Down

0 comments on commit f23e9f8

Please # to comment.