-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
115 lines (115 loc) · 2.42 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
export default defineNuxtConfig({
modules: [
'@pinia/nuxt',
'@vueuse/nuxt',
'@nuxt/devtools',
// '@nuxtjs/i18n',
],
/* piniaPersistedstate: {
storage: 'localStorage',
}, */
build: {},
nitro: {
preset: 'vercel-edge',
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {}),
},
},
/* i18n: {
experimental: {
jsTsFormatResource: true,
},
precompile: {
strictMessage: false,
escapeHtml: true,
},
debug: false,
detectBrowserLanguage: {
useCookie: true,
},
locales: ['en', 'it'],
strategy: 'no_prefix',
defaultLocale: 'en',
}, */
typescript: {},
css: ['~/assets/css/main.css'],
srcDir: './src/',
app: {
head: {
title: 'easyRadio',
meta: [
{
name: 'description',
content:
'Listen to the best italians webradios, all in one simple app.',
},
{
name: 'keywords',
content:
'listen, italians, webradio, easy, web app, radio, radio italiane, italiano, radio web',
},
{
name: 'viewport',
content: 'width=device-width, initial-scale=1.0, viewport-fit=cover',
},
{
name: 'mobile-web-app-capable',
content: 'yes',
},
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
{ name: 'apple-mobile-web-app-title', content: 'easyRadio' },
{ name: 'apple-mobile-web-app-status-bar-style', content: 'white' },
{
name: 'theme-color',
media: '(prefers-color-scheme: light)',
content: '#ffffff',
},
{
name: 'theme-color',
media: '(prefers-color-scheme: dark)',
content: '#000000',
},
],
link: [
{ rel: 'manifest', href: 'manifest.json' },
{ rel: 'mask-icon', href: 'safari-pinned-tab.svg', color: '#f8491b' },
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: '/favicon-16x16.png',
},
{
rel: 'icon',
type: 'image/png',
sizes: '32x32',
href: '/favicon-32x32.png',
},
{
rel: 'apple-touch-icon',
type: 'image/png',
sizes: '180x180',
href: '/apple-touch-icon.png',
},
{
rel: 'icon',
type: 'image/png',
sizes: '192x192',
href: '/android-chrome-192x192.png',
},
{
rel: 'icon',
type: 'image/png',
sizes: '512x512',
href: '/android-chrome-512x512.png',
},
],
},
},
ssr: true,
});