mirror of
https://github.com/frappe/books.git
synced 2025-01-24 15:48:25 +00:00
4415c04a88
- refactor code to satisfy rules (batch 1) - use ensuredir in build to prevent ENOENT
11 lines
365 B
TypeScript
11 lines
365 B
TypeScript
import { reactive, ref } from 'vue';
|
|
import type { HistoryState } from 'vue-router';
|
|
|
|
export const showSidebar = ref(true);
|
|
export const docsPathRef = ref<string>('');
|
|
export const systemLanguageRef = ref<string>('');
|
|
export const historyState = reactive({
|
|
forward: !!(history.state as HistoryState)?.forward,
|
|
back: !!(history.state as HistoryState)?.back,
|
|
});
|