For the dashboard page, we are enabling Sidebar using the code below. It overrides the default value to enable the sidebar for dashboard page if you want to make sidebar hidden on all pages just remove this code from src/views/Dashboard.vue.
onMounted(() => { if (!localStorage.getItem(LS_CONFIG_NAME_KEY)) { LayoutService.enableSidebar(); } });
onUnmounted(() => { if (!localStorage.getItem(LS_CONFIG_NAME_KEY)) { LayoutService.disableSidebar(); } });
Regards, Lauris Stepanovs, Keenthemes Support Team