filebrowser/frontend/src/App.vue

29 lines
524 B
Vue
Raw Normal View History

2018-02-01 12:17:04 +00:00
<template>
<router-view></router-view>
2018-02-01 12:17:04 +00:00
</template>
<script>
2021-04-20 19:51:10 +00:00
// eslint-disable-next-line no-undef
__webpack_public_path__ = window.FileBrowser.StaticURL + "/";
2018-02-01 12:17:04 +00:00
export default {
2021-03-21 11:51:58 +00:00
name: "app",
computed: {
},
2021-03-21 11:51:58 +00:00
mounted() {
const loading = document.getElementById("loading");
loading.classList.add("done");
setTimeout(() => {
2021-03-21 11:51:58 +00:00
loading.parentNode.removeChild(loading);
}, 200);
},
};
2018-02-01 12:17:04 +00:00
</script>
<style>
/* Always load styles.css */
2021-03-21 11:51:58 +00:00
@import "./css/styles.css";
@import "./css/dark.css";
2018-02-01 12:17:04 +00:00
</style>