Initial react commit
This commit is contained in:
17
public/App.jsx
Normal file
17
public/App.jsx
Normal 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
11
public/index.html
Normal 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
13
public/index.jsx
Normal 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
1
public/styles/index.scss
Normal file
@ -0,0 +1 @@
|
||||
@charset "UTF-8";
|
Reference in New Issue
Block a user