Removed bundle from repo

Added message about possible issues that can come up
This commit is contained in:
RemixDev 2022-02-04 15:39:40 +01:00
parent 06a26a007c
commit ca68b055ce
3 changed files with 25 additions and 5267 deletions

View file

@ -3,13 +3,31 @@
<head>
<meta charset="utf-8" />
<title>deemix</title>
<link href="/favicon.ico" rel="shortcut icon" />
<meta
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=0"
name="viewport"
/>
<style>
body {
background: hsl(240, 10%, 8%);
color: hsl(0, 0%, 93%);
}
#missingBundle {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: auto;
width: 50%;
padding: 24px;
text-align: center;
font-size: 1.2em;
font-family: sans-serif;
background-color: hsl(240, 12%, 16%);
border-radius: 10px;
}
</style>
<script>
if (localStorage.getItem('selectedTheme')) {
@ -20,6 +38,10 @@
<body class="w-full h-full overflow-hidden font-sans bg-background-main text-foreground">
<div id="app"></div>
<p id="missingBundle">
If you're reading this it means that <code>js/bundle.js</code> isn't loading correctly.<br/>
Make sure the file is present, if not build the webui.
</p>
</body>
<script src="js/bundle.js"></script>

File diff suppressed because one or more lines are too long

View file

@ -36,6 +36,7 @@ String.prototype.capitalize = function () {
/* ===== App initialization ===== */
async function startApp() {
document.getElementById('missingBundle').remove()
new Vue({
store,
router,