-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
34 lines (33 loc) · 1.01 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
app: {
pageTransition : { name : 'page', mode : 'in-out' },
layoutTransition : { name : 'layout', mode : 'in-out' },
head: {
script: [{ src: 'https://telegram.org/js/telegram-web-app.js' }],
meta: [
{
name: 'viewport', content: 'user-scalable=no, width=device-width, initial-scale=1'
}
],
bodyAttrs: {
class: 'p-4',
},
},
},
compatibilityDate: '2024-04-03',
devtools: { enabled: false },
modules: ['nuxt-swiper', '@nuxt/ui', '@nuxtjs/color-mode'],
runtimeConfig: {
public: {
appUrl: process.env.APP_URL,
backendUrl: process.env.BACKEND_URL,
appEnv: process.env.APP_ENV,
testInitData: process.env.AUTH_TEST_USER,
}
},
experimental: {
appManifest: false,
},
})