This commit is contained in:
2025-05-04 22:22:20 +03:00
parent cda54b1e95
commit ebd77a3e66
54 changed files with 1194 additions and 2580 deletions

View File

@@ -3,6 +3,7 @@
import { defineConfig } from '#q-app/wrappers'
import { fileURLToPath } from 'node:url'
import path from 'path'
export default defineConfig((ctx) => {
return {
@@ -13,11 +14,11 @@ export default defineConfig((ctx) => {
// --> boot files are part of "main.js"
// https://v2.quasar.dev/quasar-cli-vite/boot-files
boot: [
'telegram-boot',
'i18n',
'axios',
'auth-init',
'global-components',
'telegram-boot'
'global-components'
],
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#css
@@ -52,11 +53,14 @@ export default defineConfig((ctx) => {
// extendTsConfig (tsConfig) {}
},
alias: {
'composables': path.resolve(__dirname, './src/composables'),
'types': path.resolve(__dirname, './src/types')
},
vueRouterMode: 'history', // available values: 'hash', 'history'
vueDevtools: true, // Должно быть true
devtool: 'source-map', // Для лучшей отладки
// devtool: 'source-map', // Для лучшей отладки
// vueRouterBase,
// vueDevtools,
// vueOptionsAPI: false,
// rebuildCache: true, // rebuilds Vite/linter/etc cache on startup
@@ -103,14 +107,13 @@ export default defineConfig((ctx) => {
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#devserver
devServer: {
vueDevtools: true,
port: 9000,
proxy: {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true
}
}
},
// https: true,
// open: true // opens browser window automatically
},
@@ -250,4 +253,4 @@ export default defineConfig((ctx) => {
extraScripts: []
}
}
});
})