mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-04 21:09:21 +08:00
[react-packager][streamline oss] Move open sourced JS source to react-native-github
This commit is contained in:
30
packager/react-packager/example_project/public/index.html
Normal file
30
packager/react-packager/example_project/public/index.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<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>
|
||||
Reference in New Issue
Block a user