Footer
- To get the default value of navbar go to the src/store/pinia/state.js
header_navbar
- Property: "header_navbar"
- Choices: "sticky", "default", "glass"
Example
header_navbar: {
value: 'default'
}
To get the current value of the following you can use:
- first import useSetting store from pinia
- import the selectors files from src/store/pinia/index.js in your component
- import this file in your component using following example code in your component
import { useSetting } from '@/store/pinia';
Then use the following code in your component to get the current value
- accessing the state from the useSetting store
const store = useSetting();
- creating computed properties to reactively access the store's state
footer_style
const footerStyle = computed(() => store.footer_style_value)