vite.config.js 235 B

1234567891011
  1. import { sveltekit } from '@sveltejs/kit/vite';
  2. import { defineConfig } from 'vite';
  3. export default defineConfig({
  4. server: {
  5. proxy: {
  6. '/api': 'http://localhost:8888',
  7. },
  8. },
  9. plugins: [sveltekit()]
  10. });