feat(dashboard): add React foundation and overview
This commit is contained in:
1 parent
316dc3dd3e
commit
28fcb3ea99
20 files changed
+3347
-244
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
export default defineConfig({
|
||||
root: fileURLToPath(new URL('.', import.meta.url)),
|
||||
plugins: [react()],
|
||||
build: {
|
||||
outDir: '../../dist-dashboard',
|
||||
emptyOutDir: true,
|
||||
},
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': 'http://localhost:3000',
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user