collection -> inspiration

This commit is contained in:
isUnknown 2024-09-10 12:09:53 +02:00
parent dfda911664
commit 0d41b27cc3
9 changed files with 61 additions and 16 deletions

8
src/stores/user.js Normal file
View file

@ -0,0 +1,8 @@
import { defineStore } from "pinia";
import { ref } from "vue";
export const useUserStore = defineStore("user", () => {
const user = ref(null);
return { user };
});