Skip to content

Commit 593f90d

Browse files
authored
fix(template): update dioxus template to use dx bundle and correct frontendDist path (#888)
1 parent 149ba4b commit 593f90d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.changes/dioxus-out-dir.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"create-tauri-app": "patch"
3+
"create-tauri-app-js": "patch"
4+
---
5+
6+
Update `dioxus` template to use `dx bundle` and update the `frontendDist` option in the generated `tauri.conf.json` file in the template.

templates/template-dioxus/.manifest

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# SPDX-License-Identifier: MIT
44

55
beforeDevCommand = dx serve --port 1420
6-
beforeBuildCommand = dx build --release
6+
beforeBuildCommand = dx bundle --release
77
devUrl = http://localhost:1420
8-
frontendDist = ../dist
8+
frontendDist = ../dist/public
99
withGlobalTauri = true
1010

1111
[files]

0 commit comments

Comments
 (0)