Returns the path to the suggested directory for your app's config files. Resolves to ${configDir}/${bundleIdentifier}, where bundleIdentifier is the identifier value configured in tauri.conf.json.
${configDir}/${bundleIdentifier}
bundleIdentifier
identifier
tauri.conf.json
import { appConfigDir } from '@tauri-apps/api/path';const appConfigDirPath = await appConfigDir(); Copy
import { appConfigDir } from '@tauri-apps/api/path';const appConfigDirPath = await appConfigDir();
1.2.0
Returns the path to the suggested directory for your app's config files. Resolves to
${configDir}/${bundleIdentifier}
, wherebundleIdentifier
is theidentifier
value configured intauri.conf.json
.