diff --git a/.changeset/blue-knives-hug.md b/.changeset/blue-knives-hug.md new file mode 100644 index 0000000..762266b --- /dev/null +++ b/.changeset/blue-knives-hug.md @@ -0,0 +1,5 @@ +--- +"create-better-t-stack": patch +--- + +fix tauri frontend dist locationd for react router diff --git a/apps/cli/src/helpers/tauri-setup.ts b/apps/cli/src/helpers/tauri-setup.ts index 2a291cb..ad583ec 100644 --- a/apps/cli/src/helpers/tauri-setup.ts +++ b/apps/cli/src/helpers/tauri-setup.ts @@ -60,7 +60,9 @@ export async function setupTauri(config: ProjectConfig): Promise { ? "../build" : hasNext ? "../.next" - : "../dist"; + : hasReactRouter + ? "../build/client" + : "../dist"; const tauriArgs = [ "init",