diff --git a/.changes/dioxus-out-dir.md b/.changes/dioxus-out-dir.md new file mode 100644 index 0000000000..1a4d241c7f --- /dev/null +++ b/.changes/dioxus-out-dir.md @@ -0,0 +1,6 @@ +--- +"create-tauri-app": "patch" +"create-tauri-app-js": "patch" +--- + +Update `dioxus` template to use `dx bundle` and update the `frontendDist` option in the generated `tauri.conf.json` file in the template. diff --git a/templates/template-dioxus/.manifest b/templates/template-dioxus/.manifest index bb0266e23f..5fa3d08c56 100644 --- a/templates/template-dioxus/.manifest +++ b/templates/template-dioxus/.manifest @@ -3,9 +3,9 @@ # SPDX-License-Identifier: MIT beforeDevCommand = dx serve --port 1420 -beforeBuildCommand = dx build --release +beforeBuildCommand = dx bundle --release devUrl = http://localhost:1420 -frontendDist = ../dist +frontendDist = ../dist/public withGlobalTauri = true [files]