feat(frontend): connect client to local SurrealDB
Add a SurrealDB service with a local IndexedDB-backed (indxdb://) connection for private, local-first data and an optional remote connection for sync. Initialize the local connection on app start and document the required VITE_* variables in .env.example. Bump the client version to 0.0.1.
This commit is contained in:
+3
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "hubmi-client",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"version": "0.0.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
@@ -11,7 +11,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@mdi/font": "^7.4.47",
|
||||
"@surrealdb/wasm": "^2.6.1",
|
||||
"@vueuse/core": "^15.0.0",
|
||||
"surrealdb": "^2.0.10",
|
||||
"vue": "^3.5.42",
|
||||
"vuetify": "^4.2.3"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user