mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
Switched to Pinia, Added Save for Albums
This commit is contained in:
parent
a43b0907e2
commit
f303f91108
25 changed files with 945 additions and 799 deletions
11
src/stores/misc.js
Normal file
11
src/stores/misc.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { reactive } from 'vue';
|
||||
import { defineStore } from 'pinia';
|
||||
|
||||
export const useNav = defineStore('nav', () => {
|
||||
const state = reactive({
|
||||
search: '',
|
||||
page: 'home',
|
||||
});
|
||||
|
||||
return { state };
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue