v2
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
import { defineConfig } from '#q-app/wrappers'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import path from 'node:path'
|
||||
|
||||
export default defineConfig((ctx) => {
|
||||
return {
|
||||
@@ -16,7 +15,9 @@ export default defineConfig((ctx) => {
|
||||
boot: [
|
||||
'i18n',
|
||||
'axios',
|
||||
'global-components'
|
||||
'auth-init',
|
||||
'global-components',
|
||||
'telegram-boot'
|
||||
],
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#css
|
||||
@@ -52,6 +53,8 @@ export default defineConfig((ctx) => {
|
||||
},
|
||||
|
||||
vueRouterMode: 'history', // available values: 'hash', 'history'
|
||||
vueDevtools: true, // Должно быть true
|
||||
devtool: 'source-map', // Для лучшей отладки
|
||||
// vueRouterBase,
|
||||
// vueDevtools,
|
||||
// vueOptionsAPI: false,
|
||||
@@ -101,13 +104,22 @@ 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
|
||||
// open: true // opens browser window automatically
|
||||
},
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#framework
|
||||
framework: {
|
||||
config: {},
|
||||
config: {
|
||||
},
|
||||
|
||||
|
||||
// iconSet: 'material-icons', // Quasar icon set
|
||||
// lang: 'en-US', // Quasar language pack
|
||||
@@ -120,7 +132,7 @@ export default defineConfig((ctx) => {
|
||||
// directives: [],
|
||||
|
||||
// Quasar plugins
|
||||
plugins: []
|
||||
plugins: [ 'Notify' ]
|
||||
},
|
||||
|
||||
// animations: 'all', // --- includes all animations
|
||||
|
||||
Reference in New Issue
Block a user