metro/react-packager/example_project/public/index.html

39 lines
1.2 KiB
HTML

<!DOCTYPE html>
<!--
Copyright (c) 2015-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
-->
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body>
<ul id="nav-tabs">
<li data-pane="main">JS App Server</li>
<li data-pane="console">Console</li>
<li data-pane="code">Code</li>
<li data-pane="activity">Activity</li>
</ul>
<div id="nav-panes">
<div id="main" class="pane">
<p>Welcome to the react packager project.</p>
<a href="http://localhost:3000/resource?path=index.js">Get example index.js package</a>
</div>
<div id="console" class="pane"></div>
<div id="code" class="pane"></div>
<div id="activity" class="pane">react packager tasks in progress</div>
</div>
<script src="http://fb.me/react-0.12.0.js"></script>
<script src="http://localhost:3000/resource?path=index.js"></script>
<script type="text/javascript">require('index');</script>
</body>
</html>