initial frontend

This commit is contained in:
2024-10-20 12:37:40 -07:00
parent 4d5b525288
commit e22245998f
29 changed files with 338 additions and 7 deletions

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

@@ -0,0 +1,24 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
vueJsx(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
server: {
port: 9000,
proxy: {
'/api': 'http://localhost:8080'
}
}
})