before delete 3software

This commit is contained in:
2025-06-29 18:55:59 +03:00
parent ebd77a3e66
commit b51a472738
147 changed files with 257326 additions and 3151 deletions

View File

@@ -14,10 +14,10 @@ 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',
'i18n',
'telegram-boot',
'axios',
'global-components'
],
@@ -42,6 +42,8 @@ export default defineConfig((ctx) => {
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#build
build: {
publicPath: '/admin',
vueRouterBase: '/admin',
target: {
browser: [ 'es2022', 'firefox115', 'chrome115', 'safari14' ],
node: 'node20'
@@ -55,7 +57,8 @@ export default defineConfig((ctx) => {
alias: {
'composables': path.resolve(__dirname, './src/composables'),
'types': path.resolve(__dirname, './src/types')
'types': path.resolve(__dirname, './src/types'),
'helpers': path.resolve(__dirname, './src/helpers')
},
vueRouterMode: 'history', // available values: 'hash', 'history'
@@ -111,9 +114,17 @@ export default defineConfig((ctx) => {
proxy: {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true
}
changeOrigin: true,
ws: true
},
/* '/ws': {
target: 'ws://localhost:3000', // или wss:// для HTTPS
changeOrigin: true,
ws: true, // Ключевая опция для WebSocket
rewrite: (path) => path.replace(/^\/ws/, ''), // Опционально
} */
},
// https: true,
// open: true // opens browser window automatically
},