Arreglada configuración de vite
This commit is contained in:
parent
0f8e58841e
commit
55ad588b38
1 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,14 @@ export default defineConfig({
|
||||||
server: {
|
server: {
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
port: 5173,
|
port: 5173,
|
||||||
|
cors: true,
|
||||||
|
hmr: {
|
||||||
|
host: process.env.VITE_DEV_SERVER_URL || 'localhost',
|
||||||
|
clientPort: 5173,
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
usePolling: true,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
laravel({
|
laravel({
|
||||||
|
|
Loading…
Add table
Reference in a new issue