pitaya-launcher/index.html

33 lines
799 B
HTML

<html>
<head>
<title>Lanceur - Pitaya</title>
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.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 application
require('./js/app.js');
} else {
require('./js-compiled/app.js');
}
</script>
</body>
</html>