Added Homepage components

This commit is contained in:
Sean Edmunds
2024-05-14 16:34:32 -05:00
parent de64d8335a
commit 722d8e65ec
29 changed files with 1499 additions and 52 deletions

View File

@@ -1,7 +1,29 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
})
plugins: [react()],
server: {
port: 3000,
host: '0.0.0.0',
proxy: {
'/api': {
target: 'http://localhost:5000/trigger',
changeOrigin: false,
secure: false,
},
},
},
preview: {
port: 3000,
host: '0.0.0.0',
proxy: {
api: {
target: 'http://localhost:5000',
changeOrigin: false,
secure: false,
},
},
},
});