Initial Code

First Commit
This commit is contained in:
2025-06-16 01:13:41 +02:00
commit b9095962f8
50 changed files with 15586 additions and 0 deletions

14
src/stores/popupStore.js Executable file
View File

@@ -0,0 +1,14 @@
import { reactive } from 'vue';
export const popupStore = reactive({
messages: [],
addPopupMessage(text) {
const id = Date.now() + Math.random();
this.messages.push({ id, text });
setTimeout(() => {
const index = this.messages.findIndex(msg => msg.id === id);
if (index !== -1) this.messages.splice(index, 1);
}, 3000);
}
});