serve vue spa from axum
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s

This commit is contained in:
2025-07-18 01:49:28 +01:00
parent de9aff6561
commit f9047644fe
48 changed files with 13819 additions and 11 deletions

20
backend/ui/vite.config.ts Normal file
View File

@ -0,0 +1,20 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueDevTools from 'vite-plugin-vue-devtools'
import nightwatchPlugin from 'vite-plugin-nightwatch'
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
vueDevTools(),
nightwatchPlugin(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
},
},
})