Created
May 22, 2018 11:01
-
-
Save zivanovicb/8ad756beca3c37aca860aa4cfcb87093 to your computer and use it in GitHub Desktop.
cms implementation
This file contains 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
var React = window.React; | |
var ReactDOM = window.ReactDOM; | |
window.onload = function () { | |
// opcije: | |
// 1: "stil-kurir" | |
// 2: "kurir" | |
// 3: "espreso" | |
// 4: "glossy-espreso" | |
ReactDOM.render( | |
React.createElement(window.App, { publisher: "kurir" }), | |
document.getElementById('root') | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment