Spaces:
Sleeping

BaseAdmin / vite.config.js
guisousa's picture
Update vite.config.js
ab74397 verified
Raw History Blame Contribute Delete
334 Bytes
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
},
server: {
host: true,
port: 5174
},
preview: {
host: true,
port: 5174
}
})