Skip to content

Instantly share code, notes, and snippets.

@rafaelrozon
Last active November 13, 2017 04:33
Show Gist options
  • Save rafaelrozon/fe793bda2dc38adf786af7ffd16efb18 to your computer and use it in GitHub Desktop.
Save rafaelrozon/fe793bda2dc38adf786af7ffd16efb18 to your computer and use it in GitHub Desktop.
Basic React Template in Nunjucks
<!DOCTYPE html>
<html>
<head>
<title>React Template</title>
<!-- Viewport mobile tag for sensible mobile support -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- Default CSS -->
<link rel="stylesheet" href="/css/libs/libs.min.css">
{% block css %}
{% endblock %}
</head>
<body>
<div id="app"></div>
{% block body %}{% endblock %}
{% block js %}
{% endblock %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment