mushroomlamp/frontend/vite.config.js

24 lines
445 B
JavaScript
Raw Normal View History

2024-12-08 09:29:28 -08:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import tailwindcss from "tailwindcss";
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
css: {
postcss: {
plugins: [tailwindcss()],
},
},
server: {
host: '0.0.0.0',
port: 3000,
base: "./",
proxy: {
"/redeye": "http://127.0.0.1:8000",
"/static/images": "http://127.0.0.1:8000",
},
},
});