Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -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 (CORS’suz)
|
||||
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: {
|
||||
|
||||
Reference in New Issue
Block a user