feat(frontend): rework ui
This commit is contained in:
parent
10e72b5353
commit
4d9567db9e
13 changed files with 5870 additions and 856 deletions
|
|
@ -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())
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue