Basic reactjs support.

This commit is contained in:
Drew Larson
2016-06-01 18:11:07 -06:00
parent af1130de04
commit ad0ad4eac8
10 changed files with 153 additions and 22 deletions
+2 -17
View File
@@ -1,21 +1,5 @@
{% load compress staticfiles %}
<!doctype html>
<!--
Material Design Lite
Copyright 2015 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
@@ -47,6 +31,7 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" type="text/css" href="{% static 'vendor/normalize-css/normalize.css' %}">
{% compress css %}
<link rel="stylesheet" type="text/x-scss" href="{% static 'scss/screen.scss' %}">
{% endcompress %}
@@ -1 +1,7 @@
{% extends 'base.html' %}
{% extends 'base.html' %}
{% load render_bundle from webpack_loader %}
{% block content %}
<div id="root"></div>
{% render_bundle 'main' %}
{% endblock %}