2
0
mirror of https://github.com/frappe/books.git synced 2025-01-26 16:48:28 +00:00
books/src/pages/Desk.vue

25 lines
649 B
Vue
Raw Normal View History

2018-10-23 18:12:36 +05:30
<template>
<div class="flex">
2019-10-04 23:30:51 +05:30
<Sidebar class="w-56" />
2019-10-05 01:48:10 +05:30
<div class="flex flex-1 overflow-y-hidden">
<keep-alive exclude="ListView">
<router-view class="flex-1" :key="$route.fullPath" />
</keep-alive>
<div class="flex" v-if="$route.query.edit && $route.query.doctype && $route.query.name">
<keep-alive>
<router-view name="edit" class="w-80 flex-1" :key="$route.query.doctype + $route.query.name"/>
</keep-alive>
</div>
2018-10-23 18:12:36 +05:30
</div>
</div>
</template>
<script>
import Sidebar from '../components/Sidebar';
export default {
name: 'Desk',
components: {
Sidebar
}
2019-07-19 18:54:31 +05:30
};
2018-10-23 18:12:36 +05:30
</script>