feat: implement PouchDB storage layer with CRUD operations and add showcase UI component

This commit is contained in:
Firman Ramdhani
2026-05-29 15:35:14 +07:00
parent 86c02e7111
commit 6712558eaf
15 changed files with 1820 additions and 309 deletions
+10
View File
@@ -8,4 +8,14 @@ export default defineConfig({
port: 5173,
strictPort: true, // Fail if 5173 is in use. Electron NEEDS this exact port.
},
define: {
// Crucial for PouchDB to not crash in the browser
global: 'window',
},
resolve: {
alias: {
// Force Vite to use the installed npm package for 'events'
events: 'events',
},
},
});