initial commit

This commit is contained in:
Riku Rouvila
2015-01-21 13:48:40 +02:00
commit 13eb1def62
11 changed files with 277 additions and 0 deletions

10
src/index.html Normal file
View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>Gulp template</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<script src="js/bundle.js"></script>
</body>
</html>

13
src/js/app.jsx Normal file
View File

@@ -0,0 +1,13 @@
/*** @jsx React.DOM */
var React = require('react');
var APP = React.createClass({
render:function(){
return (
<h1>Hello World</h1>
)
}
});
React.renderComponent(<APP />, document.body)

5
src/js/main.js Normal file
View File

@@ -0,0 +1,5 @@
/*jslint browser: true */
'use strict';
require('./app');

3
src/style.css Normal file
View File

@@ -0,0 +1,3 @@
body, html {
margin: 0;
}