Skip to content
Snippets Groups Projects
Commit 86bce004 authored by Alexander Kaschta's avatar Alexander Kaschta :owl:
Browse files

ADD: Settings store

parent d7facd77
No related branches found
No related tags found
No related merge requests found
Pipeline #423853 passed with warnings
import { defineStore } from 'pinia'
export const useSettingsStore = defineStore('settings', () => {
const language: Ref<string> = ref('')
function setLanguage(lang_value: string) {
language.value = lang_value
}
return { language, setLanguage }
}, { persist: true })
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment