本页还没有译文
本页 8 段还没译成Español,下面显示的是英文原文。Zero-config deployments
还没翻译译自英文(svelte.dev)本页 8 段都还没译
When you create a new SvelteKit project with npx sv create, it installs adapter-auto by default. This adapter automatically installs and uses the correct adapter for supported environments when you deploy:
@sveltejs/adapter-cloudflarefor Cloudflare Workers and Pages@sveltejs/adapter-netlifyfor Netlify@sveltejs/adapter-vercelfor Vercelsvelte-adapter-azure-swafor Azure Static Web Appssvelte-kit-sstfor AWS via SST@sveltejs/adapter-nodefor Google Cloud Run@sveltejs/adapter-nodefor Render
It's recommended to install the appropriate adapter to your devDependencies once you've settled on a target environment, since this will add the adapter to your lockfile and slightly improve install times on CI.
Environment-specific configuration
To add configuration options, such as { edge: true } in adapter-vercel and adapter-netlify, you must install the underlying adapter — adapter-auto does not take any options.
Adding community adapters
You can add zero-config support for additional adapters by editing adapters.js and opening a pull request.
AI 翻译查看英文原文