Deploy your SvelteKit applications with edge rendering, serverless functions, and lightning-fast performance.
Deploy your SvelteKit app in minutes
Start with a new SvelteKit project or use an existing one.
npm create svelte@latest myappConnect your GitHub, GitLab, or Bitbucket repository to CupaDev.
git push origin mainYour SvelteKit app deploys with optimal settings automatically.
import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from 'svelte-preprocess/+build';
export default {
preprocess: vitePreprocess(),
kit: {
adapter: adapter({
out: 'build'
}),
env: {
publicPrefix: 'PUBLIC_'
},
alias: {
$components: 'src/components',
$lib: 'src/lib'
}
}
}Configure your SvelteKit app with Node.js adapter for optimal performance.
File-based routing with support for advanced patterns.
Configure environment variables for your SvelteKit deployment:
PUBLIC_API_URL=https://api.example.com
SECRET_API_KEY=your_secret_key
DATABASE_URL=postgresql://...Variables prefixed with PUBLIC_ are exposed to the browser.
Extend SvelteKit with hooks and custom middleware:
Point your custom domain to your SvelteKit deployment:
Get your SvelteKit application deployed with lightning-fast performance and serverless scaling in minutes.