fix frontend dist location for react router

This commit is contained in:
Aman Varshney
2025-05-12 03:29:42 +05:30
parent 8ce1a75c0e
commit c147b35e00
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"create-better-t-stack": patch
---
fix tauri frontend dist locationd for react router

View File

@@ -60,7 +60,9 @@ export async function setupTauri(config: ProjectConfig): Promise<void> {
? "../build"
: hasNext
? "../.next"
: "../dist";
: hasReactRouter
? "../build/client"
: "../dist";
const tauriArgs = [
"init",