mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix frontend dist location for react router
This commit is contained in:
5
.changeset/blue-knives-hug.md
Normal file
5
.changeset/blue-knives-hug.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"create-better-t-stack": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix tauri frontend dist locationd for react router
|
||||||
@@ -60,7 +60,9 @@ export async function setupTauri(config: ProjectConfig): Promise<void> {
|
|||||||
? "../build"
|
? "../build"
|
||||||
: hasNext
|
: hasNext
|
||||||
? "../.next"
|
? "../.next"
|
||||||
: "../dist";
|
: hasReactRouter
|
||||||
|
? "../build/client"
|
||||||
|
: "../dist";
|
||||||
|
|
||||||
const tauriArgs = [
|
const tauriArgs = [
|
||||||
"init",
|
"init",
|
||||||
|
|||||||
Reference in New Issue
Block a user