Basic web interface

This commit is contained in:
2024-11-02 12:33:24 +01:00
parent 092a05c3aa
commit 1974769eb4
21 changed files with 679 additions and 98 deletions

View File

@@ -1,11 +1,19 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
'components': path.resolve(__dirname, './src/components')
},
extensions: ['.js', '.jsx']
},
build: {
outDir: 'dist',
assetsDir: 'assets',
base: '/'
}
})
});