plusone-admin-ui/vite.config.ts

18 lines
368 B
TypeScript
Raw Normal View History

2022-12-30 01:56:26 +08:00
import { fileURLToPath, URL } from "node:url";
2022-12-27 10:13:24 +08:00
2022-12-30 01:56:26 +08:00
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
2022-12-27 10:13:24 +08:00
// https://vitejs.dev/config/
export default defineConfig({
2022-12-27 10:32:45 +08:00
plugins: [vue()],
resolve: {
alias: {
2022-12-30 01:56:26 +08:00
"@": fileURLToPath(new URL("./src", import.meta.url)),
2022-12-27 10:32:45 +08:00
},
},
2022-12-28 17:40:30 +08:00
server: {
port: 8888,
},
2022-12-30 01:56:26 +08:00
});