packages/docs/src/routes/docs/deployments/deno/index.mdx
import PackageManagerTabs from '~/components/package-manager-tabs/index.tsx';
Qwik City Deno middleware allows you to hook up Qwik City to a Deno server which uses the standard Request/Response that's well supported by Deno. Some Deno server implementations include:
To integrate the deno adapter, use the add command:
To build the application for production, use the build command, this command will automatically run build.server and build.client:
To start the Deno server after a build:
<PackageManagerTabs> <span q:slot="pnpm"> ```shell pnpm run serve ``` </span> <span q:slot="npm"> ```shell npm run serve ``` </span> <span q:slot="yarn"> ```shell yarn run serve ``` </span> <span q:slot="bun"> ```shell bun run serve ``` </span> </PackageManagerTabs>Since you are choosing Deno, here you are in your own, after running the build command:
dist folder will be created including all the static files.server folder will be created including all node server files.By default,
SSGmode is activated. If you want to change this behavior, you can edit thevite.config.tsfile inside theadapters/denofolder. In this file you can configure the behavior of theSSGor remove the SSG part to switch to a completeSSR.