pitaya-launcher/index.html

32 rindas
740 B
HTML

<html>
<head>
<title>Lanceur - Pitaya</title>
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="fonts/fontello/css/arrows.css" />
</head>
<body>
<!-- Application root element -->
<div id="pitaya"></div>
<!-- Scripts -->
<script type="text/javascript">
// React context detection workaround
global.document = global.window.document;
global.navigator = global.window.navigator;
var isDev = process.env.NODE_ENV === 'development';
if(isDev) {
// Auto transform JSX
require('node-jsx').install({extension: '.js'});
}
// Launch app
require('./'+(isDev ? 'src' : 'dist')+'/app.js');
</script>
</body>
</html>