builds webpack config, introduces babel, modifies ESLint to expect 4 spaces

This commit is contained in:
James
2018-07-18 12:45:48 -04:00
parent 275dd698ad
commit 3857ed4b63
11 changed files with 6698 additions and 32 deletions

11
src/client/index.html Normal file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<base href="/">
<title>Payload</title>
</head>
<body>
<div id="app"></div>
</body>
</html>

15
src/client/index.js Normal file
View File

@@ -0,0 +1,15 @@
import React from 'react';
import { render } from 'react-dom';
import './testStyles.scss';
const App = () => {
return (
<div>
<h3>Payload</h3>
<p>Yay</p>
</div>
)
}
render(<App />, document.getElementById('app'));

View File

@@ -0,0 +1,3 @@
body {
background: rgba(purple, .8);
}