Skip to content

Instantly share code, notes, and snippets.

@krpeacock
Created May 10, 2016 16:53
Show Gist options
  • Save krpeacock/4e92c152630baf40077f2a68e7dc029e to your computer and use it in GitHub Desktop.
Save krpeacock/4e92c152630baf40077f2a68e7dc029e to your computer and use it in GitHub Desktop.
Generic setup for a react document in Jade
extends ./layout
block content
<div id="container"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.34/browser.js"></script>
<script src ="https://fb.me/react-15.0.0-rc.1.js"></script>
<script src="https://fb.me/react-dom-15.0.0-rc.1.js"></script>
<script type="text/babel" src="/javascripts/index.jsx"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment