Files
pichunt/app/stores/title.ts
T
2025-08-01 22:15:30 +02:00

9 lines
226 B
TypeScript

export const useTitleStore = defineStore('title', () => {
const title = ref<string | undefined>();
return { title };
});
if (import.meta.hot) {
import.meta.hot.accept(acceptHMRUpdate(useTitleStore, import.meta.hot));
}