Created
February 20, 2017 15:22
-
-
Save diegocasmo/e357ade2dbd73222b443ec7e588743fe to your computer and use it in GitHub Desktop.
This file bootstraps the whole application. It receives appData and then initializes the application.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<div id="root"><%- renderedRoot %></div> | |
<script src="/app.js"></script> | |
<script> | |
var config = { | |
appData: <%-JSON.stringify(appData)%> | |
}; | |
MY_APP.initialize(config); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment