All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 5m11s
24 lines
640 B
JavaScript
24 lines
640 B
JavaScript
import { fileURLToPath, URL } from "node:url";
|
|
|
|
import { defineConfig } from "vite";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import vue from "@vitejs/plugin-vue";
|
|
import vueDevTools from "vite-plugin-vue-devtools";
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [vue(), vueDevTools(), tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
|
},
|
|
},
|
|
server: {
|
|
proxy: {
|
|
"/api": "http://localhost:8080",
|
|
"/gitea": "http://localhost:3000",
|
|
"/radio": "http://localhost:8000",
|
|
},
|
|
},
|
|
});
|