Merge remote-tracking branch 'origin/master'

This commit is contained in:
2026-02-14 10:23:57 +03:00
parent 78f183c9ee
commit 563bc0a0b6
8 changed files with 112 additions and 62 deletions

View File

@@ -4,52 +4,89 @@ import { defineConfig } from '#q-app/wrappers'
export default defineConfig(() => {
return {
// ✅ UYGULAMA KİMLİĞİ (WEB'DE GÖRÜNEN İSİM)
/* =====================================================
APP INFO
===================================================== */
productName: 'Baggi BSS',
productDescription: 'Baggi Tekstil Business Support System',
// 🔹 Boot dosyaları
boot: ['axios', 'dayjs'],
/* =====================================================
BOOT FILES
===================================================== */
boot: ['dayjs'],
// 🔹 Global CSS
/* =====================================================
GLOBAL CSS
===================================================== */
css: ['app.css'],
// 🔹 Ekstra icon/font setleri
/* =====================================================
ICONS / FONTS
===================================================== */
extras: [
'roboto-font',
'material-icons'
],
// 🔹 Derleme Ayarları
/* =====================================================
BUILD (PRODUCTION)
===================================================== */
build: {
vueRouterMode: 'hash',
env: {
VITE_API_BASE_URL: 'http://localhost:8080/api'
},
esbuildTarget: {
browser: ['es2022', 'firefox115', 'chrome115', 'safari14'],
node: 'node20'
}
},
// Cache & performance
gzip: true,
preloadChunks: true
},
// 🔹 Geliştirme Sunucusu
/* =====================================================
DEV SERVER (LOCAL)
===================================================== */
devServer: {
server: { type: 'http' },
port: 9000,
open: true
open: true,
// DEV proxy (CORSsuz)
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
secure: false
}
}
},
// 🔹 Quasar Framework ayarları
/* =====================================================
QUASAR FRAMEWORK
===================================================== */
framework: {
config: {
notify: { position: 'top', timeout: 2500 }
notify: {
position: 'top',
timeout: 2500
}
},
lang: 'tr',
plugins: ['Loading', 'Dialog', 'Notify']
plugins: [
'Loading',
'Dialog',
'Notify'
]
},
animations: [],
/* =====================================================
SSR / PWA (DISABLED)
===================================================== */
ssr: {
prodPort: 3000,
middlewares: ['render'],
@@ -60,6 +97,9 @@ export default defineConfig(() => {
workboxMode: 'GenerateSW'
},
/* =====================================================
MOBILE / DESKTOP
===================================================== */
capacitor: {
hideSplashscreen: true
},
@@ -68,7 +108,10 @@ export default defineConfig(() => {
preloadScripts: ['electron-preload'],
inspectPort: 5858,
bundler: 'packager',
builder: { appId: 'baggisowtfaresystem' }
builder: {
appId: 'baggisowtfaresystem'
}
},
bex: {