Skip to content

Instantly share code, notes, and snippets.

@bryceosterhaus
Created May 16, 2017 22:17
Show Gist options
  • Save bryceosterhaus/6ad42cad096432b796d6e835ff002e5f to your computer and use it in GitHub Desktop.
Save bryceosterhaus/6ad42cad096432b796d6e835ff002e5f to your computer and use it in GitHub Desktop.

Not Authenticated

Route '/' should redirect to '/signin'

Authenticated

Route '/' should return html(or handlebars) file with your react app

Example html file

<div id="root"></div>
<script src="path/to/your/main.js"></script> // This script should attach your react app to the #root node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment