feat: initial sketch with AI

This commit is contained in:
2026-08-21 17:09:32 +02:00
parent d3fe34cb22
commit 10aefdd655
40 changed files with 13491 additions and 459 deletions
+9
View File
@@ -5,6 +5,7 @@ import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import { useListsStore } from './stores/lists'
const app = createApp(App)
@@ -12,3 +13,11 @@ app.use(createPinia())
app.use(router)
app.mount('#app')
// Offline-first sync: attempt to flush the pending sync queue whenever the
// app becomes online again, and once eagerly on startup.
const listsStore = useListsStore()
window.addEventListener('online', () => {
void listsStore.sync()
})
void listsStore.sync()