17 lines
355 B
JavaScript
17 lines
355 B
JavaScript
|
import { defineStore } from "pinia";
|
||
|
import { ref } from "vue";
|
||
|
|
||
|
export const useSettings = defineStore("settings", () => {
|
||
|
const settings = ref({
|
||
|
resolution: {
|
||
|
width: null,
|
||
|
height: null,
|
||
|
},
|
||
|
carousel: null,
|
||
|
fullscreen: false,
|
||
|
status: false,
|
||
|
});
|
||
|
function updateSettings() {}
|
||
|
return { settings, updateSettings };
|
||
|
});
|