State Management
Managing State, Getters & Action
Pinia
State
const Sidebar_drawer = ref(config.Sidebar_drawer);
const Customizer_drawer = ref(config.Customizer_drawer);
const mini_sidebar = ref(config.mini_sidebar);
const setHorizontalLayout = ref(config.setHorizontalLayout);
const actTheme = ref(config.actTheme as ThemeMode);
const systemPreference = ref(false);
const fontTheme = ref(config.fontTheme);
const inputBg = ref(config.inputBg);
const boxed = ref(config.boxed);
const themeContrast = ref(config.themeContrast);
const isRtl = ref(config.isRtl);
const presetColor = ref(config.presetColor);Writing Getters & Action
Last updated