Typescript version of Wes Bos' popular reactjs tutorial series

moewrkwq 8年前發布 | 14K 次閱讀 React JavaScript開發 TypeScript

來自: https://github.com/ryanluker/typed-catch-of-the-day

typed-catch-of-the-day

typescript reactjs version of Wes Bos' reactjs for beginners tutorial series!

Follow the flow of the tutorial series by watching the videos and then looking at the relevant PRs.

starter files || course site || Start

Requirements

  • Node v4 +
  • NPM
  • Linux, MacOSX or Windows

Setup

1) clone this repo

2) go to project root

3) npm install

4) npm install typings -g then typings install (if you want typings)

Building

1) npm install webpack@1.12.6 -g

2) npm install typescript@1.7.5 -g

3) run webpack from the project root to build the app

Running

1) npm install webpack-dev-server@1.12.1 -g

2) use webpack-dev-server --content-base build/ --inline --hot to serve the reactjs app

3) navigate to localhost:8080

Testing

1) npm test

</article>

 本文由用戶 moewrkwq 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!