SensorflowStudio / vite.config.ts
whassan's picture
Deploy Sensorflow Studio
729628a verified
Raw History Blame Contribute Delete
419 Bytes
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
open: true,
proxy: {
'/api': 'http://localhost:8000'
}
},
resolve: {
alias: {
'@components': '/src/components',
'@context': '/src/context',
'@services': '/src/services',
'@styles': '/src/styles'
}
}
});