-
Notifications
You must be signed in to change notification settings - Fork 10
/
test.html
39 lines (39 loc) · 959 Bytes
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<title>Remote Devtools</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="renderer" content="webkit" />
<style>
html,
body,
#root {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="root"></div>
</body>
<script src="https://unpkg.com/react@15/dist/react.min.js"></script>
<script src="https://unpkg.com/react-dom@15/dist/react-dom.min.js"></script>
<script src="https://unpkg.com/remotedev-app@0.11.0-2/dist/remotedev-app.min.js"></script>
<script>
const root = document.getElementById('root')
ReactDOM.render(
React.createElement(
RemoteDevApp,
{
socketOptions: {
hostname: 'kezaihui.com',
port: '1024',
autoReconnect: true,
},
},
'Remote Devtools'
),
root
)
</script>
</html>