File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed
Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ npm install babel-core babel-loader babel-preset-es2015 --save-dev
149149 },
150150
151151 entry: [
152- ' ./main.ts ' ,
152+ ' ./main.js ' ,
153153 ' ../node_modules/bootstrap/dist/css/bootstrap.css'
154154 ],
155155 output: {
Original file line number Diff line number Diff line change 1+ # React ES6 by sample
2+
3+ The goal of this project is to provide a set of step by step guided samples, covering
4+ core concepts of React (props, state, replace, cycle...)
5+
6+ Characteristics:
7+
8+ + Bundling based on webpack.
9+ + React + ES6 based.
10+ + Simple navigation using react-router.
11+
12+ Contributors and reviewers are more than welcome.
13+
14+ ##To get started:
15+ 1 . Install [ NodeJS] ( http://www.nodejs.org )
16+ 2 . ` npm install webpack -g ` - Installs webpack
17+ 4 . Download this repo
18+ 5 . Open the command line of your choice and cd to the root directory of this repo on your machine,
19+ then cd to one of the demos projects.
20+ 6 . ` npm install ` - Installs packages
21+ 7 . ` npm start ` - Builds the project and launch a lite web server (webpack-devserver).
22+ 8 . Navigate to [ http://localhost:8080/ ] ( http://localhost:8080/ ) if your browser doesn't open automatically.
23+
24+ # samples
25+
26+ ## 00 Boiler plate
27+
28+ Bundling + npm start based on webpack.
29+
30+ ## 01 Hello React
31+
32+ Hello world, simples react render sample.
33+
34+ ## 02 ColorPicker
35+
36+ Simple color picker demo (show how properties work).
You can’t perform that action at this time.
0 commit comments