v1
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
import { defineConfig } from '#q-app/wrappers'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import path from 'path'
|
||||
|
||||
export default defineConfig((ctx) => {
|
||||
return {
|
||||
@@ -14,10 +15,9 @@ export default defineConfig((ctx) => {
|
||||
// https://v2.quasar.dev/quasar-cli-vite/boot-files
|
||||
boot: [
|
||||
'i18n',
|
||||
'telegram-boot',
|
||||
'axios',
|
||||
'auth-init',
|
||||
'global-components',
|
||||
'telegram-boot'
|
||||
'global-components'
|
||||
],
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#css
|
||||
@@ -41,11 +41,18 @@ export default defineConfig((ctx) => {
|
||||
|
||||
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#build
|
||||
build: {
|
||||
publicPath: '/',
|
||||
vueRouterBase: '/',
|
||||
target: {
|
||||
browser: [ 'es2022', 'firefox115', 'chrome115', 'safari14' ],
|
||||
node: 'node20'
|
||||
},
|
||||
|
||||
alias: {
|
||||
'composables': path.resolve(__dirname, './src/composables'),
|
||||
'types': path.resolve(__dirname, './src/types')
|
||||
},
|
||||
|
||||
typescript: {
|
||||
strict: true,
|
||||
vueShim: true
|
||||
@@ -53,8 +60,8 @@ export default defineConfig((ctx) => {
|
||||
},
|
||||
|
||||
vueRouterMode: 'history', // available values: 'hash', 'history'
|
||||
vueDevtools: true, // Должно быть true
|
||||
devtool: 'source-map', // Для лучшей отладки
|
||||
// vueDevtools: true, // Должно быть true
|
||||
// devtool: 'source-map', // Для лучшей отладки
|
||||
// vueRouterBase,
|
||||
// vueDevtools,
|
||||
// vueOptionsAPI: false,
|
||||
@@ -103,8 +110,8 @@ export default defineConfig((ctx) => {
|
||||
|
||||
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#devserver
|
||||
devServer: {
|
||||
vueDevtools: true,
|
||||
port: 9000,
|
||||
// vueDevtools: true,
|
||||
port: 9005,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:3000',
|
||||
@@ -132,7 +139,7 @@ export default defineConfig((ctx) => {
|
||||
// directives: [],
|
||||
|
||||
// Quasar plugins
|
||||
plugins: [ 'Notify' ]
|
||||
plugins: [ 'Notify', 'BottomSheet' ]
|
||||
},
|
||||
|
||||
// animations: 'all', // --- includes all animations
|
||||
|
||||
Reference in New Issue
Block a user