本页还没有译文
本页 9 段还没译成简体中文,下面显示的是英文原文。$app/env
还没翻译译自英文(svelte.dev)本页 9 段都还没译
import { browser, building, dev, version } from '$app/env';browser
true if the app is running in the browser.
const browser: boolean;building
SvelteKit analyses your app during the build step by running it. During this process, building is true. This also applies during prerendering.
const building: boolean;dev
Whether the dev server is running. This is not guaranteed to correspond to NODE_ENV or MODE.
const dev: boolean;version
The value of config.version.name.
const version: string;AI 翻译查看英文原文