redux-devtools/packages/redux-devtools-cli/app/index.html

47 lines
1.1 KiB
HTML
Raw Permalink Normal View History

<!doctype html>
2019-01-04 01:30:48 +03:00
<html>
<head>
2019-01-10 21:51:14 +03:00
<meta charset="utf-8" />
<title>Redux DevTools</title>
2019-01-04 01:30:48 +03:00
<style>
html {
min-width: 350px;
min-height: 300px;
}
body {
position: fixed;
overflow: hidden;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
#root {
height: 100%;
}
#root > div {
height: 100%;
}
</style>
<link href="/redux-devtools-app.min.css" rel="stylesheet" />
2019-01-04 01:30:48 +03:00
</head>
<body>
<div id="root"></div>
2019-01-04 22:44:48 +03:00
<script src="/react.production.min.js"></script>
<script src="/react-dom.production.min.js"></script>
<script src="/redux-devtools-app.min.js"></script>
2019-01-04 22:44:48 +03:00
<script src="/port.js"></script>
2019-01-04 01:30:48 +03:00
<script>
const container = document.querySelector('#root');
const element = React.createElement(ReduxDevToolsApp.Root, {
socketOptions: {
hostname: location.hostname,
port: reduxDevToolsPort,
autoReconnect: true,
},
});
ReactDOM.createRoot(container).render(element);
2019-01-04 01:30:48 +03:00
</script>
</body>
</html>