add: history WIP

Work in Progress of History, smaller design fixes
This commit is contained in:
webfussel 2025-07-17 19:07:51 +02:00
parent 3bbcfa529c
commit 5211e876f6
11 changed files with 211 additions and 23 deletions

View file

@ -1,5 +1,6 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import { defineConfig } from "vite"
import vue from "@vitejs/plugin-vue"
import path from 'node:path'
// @ts-expect-error process is a nodejs global
const host = process.env.TAURI_DEV_HOST;
@ -7,6 +8,13 @@ const host = process.env.TAURI_DEV_HOST;
// https://vite.dev/config/
export default defineConfig(async () => ({
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, "./src/components/"),
'~': path.resolve(__dirname, "./src/stores/"),
'#': path.resolve(__dirname, "./src/composables/"),
},
},
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
//
@ -29,4 +37,4 @@ export default defineConfig(async () => ({
ignored: ["**/src-tauri/**"],
},
},
}));
}))