Switch to NextJS

This commit is contained in:
Lncvrt committed 2025-08-06 22:32:06 -07:00
1 parent 8c1ff8d1fc
commit 8d8758d04d
32 files changed
+2727 -845

No files matched your search

+11 -3
View File
@@ -9,11 +9,19 @@ async fn create_project(project_type: String, project_folder: String, project_na
let project_type_str: &str = project_type.as_str();
match project_type_str {
"website" => {
let _ = fs::write(format!("{}/index.php", project_root), "<h1>this will be updated later</h1>").await;
let _ = fs::write(
format!("{}/index.php", project_root),
"<h1>this will be updated later</h1>",
)
.await;
}
"webserver" => {
let _ = fs::write(format!("{}/index.php", project_root), "<h1>this will be updated later</h1>").await;
let _ = fs::write(
format!("{}/index.php", project_root),
"<h1>this will be updated later</h1>",
)
.await;
}
_ => {}
@@ -35,7 +43,7 @@ pub fn run() {
tauri::webview::WebviewWindowBuilder::new(
app,
"main",
tauri::WebviewUrl::App("projectmanager.html".into()),
tauri::WebviewUrl::App("projectmanager/projects".into()),
)
.resizable(false)
.maximizable(false)
+2 -2
View File
@@ -5,9 +5,9 @@
"identifier": "xyz.lncvrt.php-fly",
"build": {
"beforeDevCommand": "yarn dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "yarn build",
"frontendDist": "../dist"
"devUrl": "http://localhost:3000",
"frontendDist": "../out"
},
"bundle": {
"active": true,