79 lines
1.5 KiB
JavaScript
79 lines
1.5 KiB
JavaScript
// 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: []
|
||
}
|
||
}
|
||
})
|