jws-frontend/quasar.config.ts
Methapon2001 21699b14c5
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
feat: troubleshooting page
2025-04-25 15:15:37 +07:00

47 lines
1.1 KiB
TypeScript

// Configuration for your app
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
import { defineConfig } from '#q-app/wrappers';
import { fileURLToPath } from 'node:url';
export default defineConfig((ctx) => {
return {
boot: ['i18n', 'axios', 'components'],
css: ['app.scss'],
extras: ['mdi-v7'],
build: {
target: {
browser: ['es2022', 'firefox115', 'chrome115', 'safari14'],
node: 'node20',
},
typescript: {
vueShim: true,
},
vueRouterMode: 'history',
vitePlugins: [
[
'@intlify/unplugin-vue-i18n/vite',
{
ssr: ctx.modeName === 'ssr',
include: [fileURLToPath(new URL('./src/i18n', import.meta.url))],
},
],
],
},
devServer: {
host: '0.0.0.0',
open: false,
port: 5174,
},
framework: {
config: {},
plugins: ['Dark', 'Dialog', 'Notify', 'Loading'],
iconSet: 'mdi-v7',
cssAddon: true,
},
animations: [],
pwa: {
workboxMode: 'GenerateSW', // 'GenerateSW' or 'InjectManifest'
},
};
});