feat(frontend): rework ui

This commit is contained in:
Alois 2026-08-30 11:34:49 +02:00
commit 4d9567db9e
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
13 changed files with 5870 additions and 856 deletions

View file

@ -1,3 +1,5 @@
import { methaniumUi } from '@methanium/ui/vite';
import tailwindcss from '@tailwindcss/vite';
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';
@ -39,7 +41,7 @@ function getVersion(): string {
// https://vitejs.dev/config/
export default defineConfig(({ command }) => ({
base: command === 'build' ? '/management-assets/' : '/',
plugins: [react()],
plugins: [tailwindcss(), react(), methaniumUi({ defaultThemeId: 'methanium' })],
define: {
__APP_VERSION__: JSON.stringify(getVersion())
},