editView almost done
This commit is contained in:
26
app/vite.config.js
Normal file
26
app/vite.config.js
Normal file
@@ -0,0 +1,26 @@
|
||||
import { fileURLToPath, URL } from 'node:url'
|
||||
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import vueDevTools from 'vite-plugin-vue-devtools'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
vue(),
|
||||
vueDevTools(),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
||||
'bootstrap5': 'bootstrap/dist/css/bootstrap.min.css'
|
||||
},
|
||||
},
|
||||
server: {
|
||||
host: '0.0.0.0', // Udostępnia serwer na zewnątrz kontenera (Docker)
|
||||
port: 5172, // Zmiana portu na 5172
|
||||
watch: {
|
||||
usePolling: true // Poprawka dla Docker na Linuxie
|
||||
}
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user