-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
83 lines (73 loc) · 1.75 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import { defineNuxtConfig } from 'nuxt/config'
export default defineNuxtConfig({
devServer: { port: 3300 },
app: {
head: {
title: 'Mapa.BeruBitcoin.cz',
meta: [
{ charset: 'utf-8' },
{ hid: 'description', name: 'description', content: '' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
],
htmlAttrs: {
class: ['dark']
},
},
},
elementPlus: {
importStyle: 'scss',
themes: ['dark'],
},
modules: [
'@element-plus/nuxt',
'@vite-pwa/nuxt',
'@nuxtjs/tailwindcss',
'@vueuse/nuxt',
],
runtimeConfig: {
public: {
mapBounds: [[12, 47.7], [23, 51.1]],
mapStyle: 'dark-v10',
mapAccessToken: 'pk.eyJ1IjoicG9ib3JpbCIsImEiOiJja3dwY3lxYmMwYmk0MnBwNm96aDIzYWRiIn0.Sz9ldnB1zsjTVRFMdFrz0g',
},
},
pwa: {
manifest: {
background_color: '#343332',
lang: 'cs',
name: 'Mapa.BeruBitcoin.cz',
short_name: 'BeruBitcoin'
},
registerWebManifestInRouteRules: true,
/* meta: {
appleStatusBarStyle: 'black-translucent',
lang: 'cs',
mobileAppIOS: true,
name: 'Mapa.BeruBitcoin.cz',
ogHost: 'https://mapa.berubitcoin.cz',
ogImage: '/ogimage.jpg',
theme_color: '#f7931a',
viewport: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, minimal-ui, viewport-fit=cover'
} */
},
telemetry: false,
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: `@use "@/assets/css/el-override.scss" as element;`,
},
},
},
server: {
fs: {
allow: [
'/Users/Bobik/Applications/vue-mapbox-ts',
],
},
},
},
compatibilityDate: '2024-08-13',
})