Files
POS-System/vite.config.js
T
2025-11-29 02:48:05 +08:00

25 lines
410 B
JavaScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
darkMode: 'class',
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {},
},
plugins: [react()],
server: {
port: 3000,
host: true,
},
preview:{
host: true,
allowedHosts: [
"pos-system-vl4d.onrender.com"
]
}
})