31 lines
673 B
HTML
31 lines
673 B
HTML
<html>
|
|
<head>
|
|
<title>Lanceur - Pitaya</title>
|
|
<link rel="stylesheet" href="css/style.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>
|