react-native-dom-expo
Version:
A patch library to make Expo work with react-native-dom
40 lines (35 loc) • 920 B
HTML
<html>
<head>
<title>
</title>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width, viewport-fit=cover">
<link rel="preload" href="./bootstrap.bundle?platform=dom&dev=true" as="script" />
<link rel="preload" href="./entry.bundle?platform=dom&dev=true" as="fetch" />
<style>
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
#rndom-expo-splash-screen {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 9999;
background-image: url(../assets/images/splash.png);
background-size: contain;
background-color: #ffffff;
background-repeat: no-repeat;
background-position: center;
}
</style>
</head>
<body>
<div id="rndom-expo-splash-screen"></div>
<script src="./bootstrap.bundle?platform=dom&dev=true"></script>
</body>
</html>