Skip to content

Commit 9d9a7e2

Browse files
committed
build: fix tauri not finding build directory for nuxt
1 parent dc8164b commit 9d9a7e2

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.nitro
66
.cache
77
dist
8+
build
89

910
# Node dependencies
1011
node_modules

nuxt.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
22
export default defineNuxtConfig({
33
srcDir: "./src",
4+
buildDir: "./build",
45
compatibilityDate: "2025-05-15",
56
devtools: { enabled: true },
67
// Desktop apps are fully CSR

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.1.0",
55
"identifier": "org.freesmlauncher.kaede",
66
"build": {
7-
"frontendDist": "../dist",
7+
"frontendDist": "../build/dist",
88
"devUrl": "http://localhost:3000",
99
"beforeDevCommand": "bun run dev:frontend",
1010
"beforeBuildCommand": "bun run build:frontend"

0 commit comments

Comments
 (0)