2023-05-09 09:55:11 +05:30
|
|
|
import { reactive, ref } from 'vue';
|
2023-06-21 16:08:39 +05:30
|
|
|
import type { HistoryState } from 'vue-router';
|
2023-01-30 16:20:40 +05:30
|
|
|
|
2023-03-07 15:07:02 +05:30
|
|
|
export const showSidebar = ref(true);
|
2023-01-30 16:20:40 +05:30
|
|
|
export const docsPathRef = ref<string>('');
|
|
|
|
export const systemLanguageRef = ref<string>('');
|
2023-05-09 09:55:11 +05:30
|
|
|
export const historyState = reactive({
|
2023-06-21 16:08:39 +05:30
|
|
|
forward: !!(history.state as HistoryState)?.forward,
|
|
|
|
back: !!(history.state as HistoryState)?.back,
|
2023-05-09 09:55:11 +05:30
|
|
|
});
|