Files
bssapp/ui/quasar.config.js
2026-02-11 17:46:22 +03:00

79 lines
1.5 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// quasar.config.js
import { defineConfig } from '#q-app/wrappers'
export default defineConfig(() => {
return {
// ✅ UYGULAMA KİMLİĞİ (WEB'DE GÖRÜNEN İSİM)
productName: 'Baggi BSS',
productDescription: 'Baggi Tekstil Business Support System',
// 🔹 Boot dosyaları
boot: ['axios', 'dayjs'],
// 🔹 Global CSS
css: ['app.css'],
// 🔹 Ekstra icon/font setleri
extras: [
'roboto-font',
'material-icons'
],
// 🔹 Derleme Ayarları
build: {
vueRouterMode: 'hash',
env: {
VITE_API_BASE_URL: 'http://localhost:8080/api'
},
esbuildTarget: {
browser: ['es2022', 'firefox115', 'chrome115', 'safari14'],
node: 'node20'
}
},
// 🔹 Geliştirme Sunucusu
devServer: {
server: { type: 'http' },
port: 9000,
open: true
},
// 🔹 Quasar Framework ayarları
framework: {
config: {
notify: { position: 'top', timeout: 2500 }
},
lang: 'tr',
plugins: ['Loading', 'Dialog', 'Notify']
},
animations: [],
ssr: {
prodPort: 3000,
middlewares: ['render'],
pwa: false
},
pwa: {
workboxMode: 'GenerateSW'
},
capacitor: {
hideSplashscreen: true
},
electron: {
preloadScripts: ['electron-preload'],
inspectPort: 5858,
bundler: 'packager',
builder: { appId: 'baggisowtfaresystem' }
},
bex: {
extraScripts: []
}
}
})