2
0
mirror of https://github.com/frappe/books.git synced 2025-02-04 13:08:29 +00:00
books/src/utils/refs.ts

10 lines
279 B
TypeScript
Raw Normal View History

import { reactive, ref } from 'vue';
export const showSidebar = ref(true);
export const docsPathRef = ref<string>('');
export const systemLanguageRef = ref<string>('');
export const historyState = reactive({
forward: !!history.state.forward,
back: !!history.state.back,
});