mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2024-12-28 18:36:30 +00:00
Removed bundle from repo
Added message about possible issues that can come up
This commit is contained in:
parent
06a26a007c
commit
ca68b055ce
|
@ -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>
|
||||
|
|
5265
public/js/bundle.js
5265
public/js/bundle.js
File diff suppressed because one or more lines are too long
|
@ -36,6 +36,7 @@ String.prototype.capitalize = function () {
|
|||
|
||||
/* ===== App initialization ===== */
|
||||
async function startApp() {
|
||||
document.getElementById('missingBundle').remove()
|
||||
new Vue({
|
||||
store,
|
||||
router,
|
||||
|
|
Loading…
Reference in a new issue