Files
cloudron-box/frontend/src/FileManager.vue

28 lines
439 B
Vue
Raw Normal View History

<template>
2023-03-29 19:28:32 +02:00
<ConfirmDialog/>
<router-view></router-view>
</template>
2023-02-19 17:13:33 +01:00
<script>
2023-02-19 17:13:33 +01:00
2023-03-29 09:46:07 +02:00
import ConfirmDialog from 'primevue/confirmdialog';
export default {
2023-03-29 09:46:07 +02:00
components: { ConfirmDialog },
data() {
return {
};
},
mounted() {
2023-04-16 19:06:14 +02:00
if (!localStorage.token) {
if (import.meta.env.BASE_URL !== '/') window.location.href = '/';
else console.error('Set localStorage.token')
}
}
};
2023-02-19 17:13:33 +01:00
</script>
<style scoped>
</style>