vue3 version of frontend

This commit is contained in:
2026-05-05 22:03:56 +02:00
parent 9891a03982
commit 71d341c9f3
37 changed files with 2592 additions and 6815 deletions
+23
View File
@@ -0,0 +1,23 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
envPrefix: ['VITE_', 'WEBAPP_', 'YOUTUBE_', 'DISCORD_'],
server: {
host: true,
allowedHosts: ['teletypegames.org'],
proxy: {
'/proxy/wiki': {
target: 'https://wiki.teletype.hu',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/proxy\/wiki/, '')
},
'/proxy/git': {
target: 'https://git.teletype.hu',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/proxy\/git/, '')
}
}
}
})