-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (30 loc) · 822 Bytes
/
Copy pathindex.html
File metadata and controls
30 lines (30 loc) · 822 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Testing React Native on the Web!</title>
<meta content="initial-scale=1,width=device-width" name="viewport" />
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
<style>
/* These styles make the body full-height */
html,
body,
#root {
height: 100%;
}
/* These styles disable body scrolling if you are using <ScrollView> */
body {
overflow: hidden;
}
/* These styles make the root element flex and column wise filling */
#root {
display: flex;
flex-direction: column;
}
</style>
</head>
<body>
<div id="react-native-web-app"></div>
<script type="text/javascript" src="/bundle.web.js"></script>
</body>
</html>