Web UI setup

This commit is contained in:
nemunaire 2025-10-17 17:18:37 +07:00
commit b96af8349d
19 changed files with 6026 additions and 2 deletions

19
web/svelte.config.js Normal file
View file

@ -0,0 +1,19 @@
import adapter from "@sveltejs/adapter-static";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
adapter: adapter({
fallback: "index.html",
}),
paths: {
relative: process.env.MODE === "production",
},
},
};
export default config;