Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

React & Webpack tutorial needs update #495

Closed
LiangZugeng opened this issue Jan 31, 2017 · 0 comments
Closed

React & Webpack tutorial needs update #495

LiangZugeng opened this issue Jan 31, 2017 · 0 comments
Assignees

Comments

@LiangZugeng
Copy link

Hi,

As a new comer to TypeScript, I'm following the React & Webpack tutorial to create a basic React sample application ([http://www.typescriptlang.org/docs/handbook/react-&-webpack.html]), but I didn't get through, there are several issues:

  1. The webpack version got updated from the one on which this tutorial was written, now it's 2.2.1 and the module.preLoaders in webpack.config.js doesn't work anymore, and webpack didn't like the empty element "" in resolve.extensions array.

  2. The project structure is not clearly laid out, as a freshman I can't even figure out in which directories package.json/webpack.config.js/tsconfig.json files go.

If someone can update this tutorial and make it work, that will greatly help someone like me getting started with TypeScript. Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants