v.0.0.0 initial
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";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue(), vueDevTools()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
host: "0.0.0.0",
|
||||
port: 3000,
|
||||
strictPort: true,
|
||||
allowedHosts: ["j-agent-01"],
|
||||
},
|
||||
preview: {
|
||||
host: "0.0.0.0",
|
||||
port: 3000,
|
||||
strictPort: true,
|
||||
allowedHosts: ["j-agent-01"],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user