svelte-kit-sst Svelte Themes

Svelte Kit Sst

Dependency with modification needed for mongodb and lambda

svelte-kit-sst

This adapter allows SvelteKit to deploy your SSR site to AWS.

Installation

Install the adapter to your project’s dependencies using your preferred package manager. If you’re using npm or aren’t sure, run this in the terminal:

  npm install svelte-kit-sst

Add the adapter in your svelte.config.js file.

+ import adapter from "svelte-kit-sst";
  import { vitePreprocess } from "@sveltejs/kit/vite";

  const config = {
    preprocess: vitePreprocess(),
    kit: {
+     adapter: adapter(),
    },
  };

  export default config;

Top categories

Loading Svelte Themes