Add working webpack config and react app

It doesn't do much yet, I'm just sketching out the basic elements and
starting to get a basis for something that will work
This commit is contained in:
Eli Ribble 2016-05-16 18:19:07 -06:00
parent c1c059953f
commit 6338c4f066
5 changed files with 177 additions and 2 deletions

View file

@ -1,5 +1,6 @@
<html>
<body>
<div id="container"/>
{% if current_user and current_user.is_authenticated %}
<h1>Hello {{ current_user.name }} from Vanth</h1>
<form action="/logout/" method="POST">
@ -13,5 +14,6 @@
<input type="submit">Log in</input>
</form>
{% endif %}
<script src="build/bundle.js"></script>
</body>
</html>