Ports every remaining view (Keybinds, the last one — dual Flat/MultiLayout schema detection, per-action dedicated fields with a raw-JSON fallback for anything not modeled) and removes the now-fully-dead GTK4 crate (root Cargo.toml + src/), leaving src-tauri/ as the single Rust binary crate. Also folds in the UX pass done alongside the migration: responsive multi-column layout instead of a single centered column, chip/dropdown pickers replacing free-typed fields (Wi-Fi networks, Bar style, keyboard layout, tag lists), consistent pill-switch toggles and boxed-list card styling across every page, and a sidebar scroll-chaining fix.
18 lines
573 B
JavaScript
18 lines
573 B
JavaScript
// Tauri doesn't have a Node.js server to do proper SSR
|
|
// so we use adapter-static with a fallback to index.html to put the site in SPA mode
|
|
// See: https://svelte.dev/docs/kit/single-page-apps
|
|
// See: https://v2.tauri.app/start/frontend/sveltekit/ for more info
|
|
import adapter from "@sveltejs/adapter-static";
|
|
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
adapter: adapter({
|
|
fallback: "index.html",
|
|
}),
|
|
},
|
|
};
|
|
|
|
export default config;
|