chore: front-end
TS Lint / ESLint (push) Successful in 43s
Python Lint CI / ruff-format-check (push) Successful in 53s
Python Lint CI / ruff (push) Successful in 59s
Python Lint CI / ty (push) Successful in 59s
TS Lint / Oxlint (push) Successful in 1m57s
TS Lint / TypeScript (push) Successful in 2m17s
TS Lint / ESLint (push) Successful in 43s
Python Lint CI / ruff-format-check (push) Successful in 53s
Python Lint CI / ruff (push) Successful in 59s
Python Lint CI / ty (push) Successful in 59s
TS Lint / Oxlint (push) Successful in 1m57s
TS Lint / TypeScript (push) Successful in 2m17s
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import { fileURLToPath, URL } from "node:url";
|
||||
|
||||
import { defineConfig } from "vite";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import vueDevTools from "vite-plugin-vue-devtools";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
server: {
|
||||
host: "0.0.0.0",
|
||||
hmr: true,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://localhost:5000",
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [vue(), vueDevTools(), tailwindcss()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": fileURLToPath(new URL("./resources/ts", import.meta.url)),
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user