feat(app): Added sidebar navigation and new page routes

- Added Nodes and Settings page routes
- Updated component import paths
- Imported database connection dependencies
This commit is contained in:
2025-10-10 09:09:19 +08:00
parent 4aba63cb93
commit 2a18061700
11 changed files with 96 additions and 32 deletions

0
src-tauri/src/entity.rs Normal file
View File

View File

@@ -1,6 +1,14 @@
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
use once_cell::sync::OnceCell;
use sea_orm::DatabaseConnection;
mod entity;
static DB: OnceCell<DatabaseConnection> = OnceCell::new();
fn main() {
spary_lib::run()
}