frontend-web/vite.config.js
2022-06-17 12:39:30 +02:00

21 lines
337 B
JavaScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
const path = require("path");
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
server: {
host: true,
port: 8080,
},
preview: {
host: true,
port: 8080,
},
})