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:
@@ -22,4 +22,6 @@ tauri = { version = "2", features = [] }
|
||||
tauri-plugin-opener = "2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
sea-orm = { version = "2.0.0-rc", features = [ "sqlx-sqlite", "runtime-tokio-native-tls", "macros" ] }
|
||||
once_cell = "1.21.3"
|
||||
|
||||
|
||||
0
src-tauri/src/entity.rs
Normal file
0
src-tauri/src/entity.rs
Normal 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()
|
||||
}
|
||||
|
||||
@@ -15,6 +15,11 @@
|
||||
"title": "spary",
|
||||
"width": 800,
|
||||
"height": 600
|
||||
},
|
||||
{
|
||||
"title": "addGroup",
|
||||
"width": 800,
|
||||
"height": 600
|
||||
}
|
||||
],
|
||||
"security": {
|
||||
|
||||
Reference in New Issue
Block a user