🎉first frontend commit (WIP)

This commit is contained in:
pixii
2025-03-04 09:43:45 +01:00
parent e91fc6ce93
commit 3217b2c4c3
37 changed files with 5501 additions and 0 deletions

26
frontend/vite.config.ts Normal file
View File

@ -0,0 +1,26 @@
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import routify from '@roxi/routify/vite-plugin'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [
routify({/* config */ }),
tailwindcss(),
svelte()
],
server: {
host: true,
proxy: {
'/api': {
target: 'http://10.10.39.145:3000',
changeOrigin: true,
},
'/socket.io': {
target: 'http://10.10.39.145:3000',
ws: true,
changeOrigin: true,
}
}
}
})