Rewritten frontend with Vue

This commit is contained in:
Leo Vasanko
2025-07-13 12:41:08 -06:00
parent 58368e2de3
commit 9711453553
21 changed files with 1398 additions and 0 deletions

33
frontend/vite.config.js Normal file
View File

@@ -0,0 +1,33 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueDevTools from 'vite-plugin-vue-devtools'
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
vueDevTools(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
},
},
server: {
port: 3000,
proxy: {
'/auth/': {
target: 'http://localhost:8000',
ws: true,
changeOrigin: false
}
}
},
build: {
outDir: '../static/dist',
emptyOutDir: true,
assetsDir: 'assets'
}
})