Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>MontpellierJS - ToDo List!</title>
</head>
<body>

<div id="app"></div>

<script src="build/bundle.js"></script>

</body>
</html>
34 changes: 34 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "react-intro",
"version": "1.0.0",
"description": "An Introduction to ReactJS, maintained and amended by MontpellierJS Team",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "watchify -t [ babelify --presets [ react es2015 ] ] ./src/index.js -o ./build/bundle.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MontpellierJS/react-intro.git"
},
"keywords": [
"tutorial",
"introduction"
],
"author": "MontpellierJS",
"license": "ISC",
"bugs": {
"url": "https://github.com/MontpellierJS/react-intro/issues"
},
"homepage": "https://github.com/MontpellierJS/react-intro#readme",
"dependencies": {
"react": "^0.14.6",
"react-dom": "^0.14.6"
},
"devDependencies": {
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babelify": "^7.2.0",
"watchify": "^3.7.0"
}
}
9 changes: 9 additions & 0 deletions src/components/TodoApp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

export default function TodoApp(props) {
return (
<div className="todoApp">
Todo : Build The App
</div>
)
}
5 changes: 5 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React from 'react'
import { render } from 'react-dom'
import TodoApp from './components/TodoApp'

render((<TodoApp/>),document.getElementById('app'))