M0.4: frontend with Vue 3, Pinia, ESLint, vue-tsc and Vitest
Empty workbench (main area and status bar) themed only through --lt-* tokens. ipc.ts wraps Tauri invoke so engine calls never reject; the app store loads app.about. Type-aware ESLint bans floating promises, any and inline comments. Requires Node 22.12+ for Vite 8. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
acc055c063
commit
50bcc95006
15 changed files with 456 additions and 2 deletions
15
ui/vite.config.ts
Normal file
15
ui/vite.config.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
* Vite and Vitest configuration of the Lutra frontend.
|
||||
*
|
||||
* The dev server port is fixed because the Tauri shell loads it as `devUrl`.
|
||||
*/
|
||||
import { defineConfig } from "vitest/config";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
clearScreen: false,
|
||||
server: { port: 5173, strictPort: true },
|
||||
build: { target: "es2022", outDir: "dist" },
|
||||
test: { environment: "jsdom", include: ["tests/**/*.test.ts"] },
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue