Initial react commit

This commit is contained in:
2018-02-23 20:31:42 +11:00
parent 948f447d9f
commit 878bab91ac
8 changed files with 166 additions and 0 deletions

17
public/App.jsx Normal file
View File

@ -0,0 +1,17 @@
import React from 'react';
class App extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<div className="c-app">
App
</div>
)
}
}
export default App;

11
public/index.html Normal file
View File

@ -0,0 +1,11 @@
<!DOCTYPE HTML>
<html lang="en-AU" class="no-js">
<head>
<meta charset="utf-8" />
<title>domsPlace</title>
</head>
<body>
<div id="app"></div>
</body>
</html>

13
public/index.jsx Normal file
View File

@ -0,0 +1,13 @@
'use strict';
import 'babel-polyfill';
import React from 'react';
import ReactDOM, { render } from 'react-dom';
import App from './App.jsx';
import Styles from './styles/index.scss';
render((
<App />
), document.getElementById("app"));

1
public/styles/index.scss Normal file
View File

@ -0,0 +1 @@
@charset "UTF-8";