Skip to content

Instantly share code, notes, and snippets.

@SoltauFintel
Last active December 17, 2023 18:37
Show Gist options
  • Save SoltauFintel/0a15c96989e02f0c0293ddde10bbaf68 to your computer and use it in GitHub Desktop.
Save SoltauFintel/0a15c96989e02f0c0293ddde10bbaf68 to your computer and use it in GitHub Desktop.
Ärger nach Erstellung eines neuen Sveltekit Projekts
import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
}
};
export default config;
@SoltauFintel
Copy link
Author

danach npm install ausführen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment