-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.ts
60 lines (60 loc) · 2.18 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
// https://nuxt.com/docs/api/configuration/nuxt-config
// https://nuxt.com/docs/guide/concepts/rendering#route-rules
export default defineNuxtConfig({
nitro: {
preset: 'netlify'
},
app: {
head: {
title: 'Nosta',
meta: [
{ name: 'description', content: 'Nostr profiles. Nice and easy.' },
{ name: 'msapplication-TileColor', content: '#ffffff' },
{ name: 'msapplication-TileImage', content: '/ms-icon-144x144.png' },
{ name: 'theme-color"', content: '#ffffff' }
],
link: [
{ rel: 'apple-touch-icon', sizes: '57x57', href: '/images/apple-icon-57x57.png' },
{ rel: 'apple-touch-icon', sizes: '60x60', href: '/images/apple-icon-60x60.png' },
{ rel: 'apple-touch-icon', sizes: '72x72', href: '/images/apple-icon-72x72.png' },
{ rel: 'apple-touch-icon', sizes: '76x76', href: '/images/apple-icon-76x76.png' },
{ rel: 'apple-touch-icon', sizes: '114x114', href: '/images/apple-icon-114x114.png' },
{ rel: 'apple-touch-icon', sizes: '120x120', href: '/images/apple-icon-120x120.png' },
{ rel: 'apple-touch-icon', sizes: '144x144', href: '/images/apple-icon-144x144.png' },
{ rel: 'apple-touch-icon', sizes: '152x152', href: '/images/apple-icon-152x152.png' },
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/images/apple-icon-180x180.png' },
{ rel: 'icon', type: 'image/png', sizes: '144x144', href: '/images/android-icon-192x192.png' },
{ rel: 'icon', type: 'image/png', sizes: '32x32', href: '/images/favicon-32x32.png' },
{ rel: 'icon', type: 'image/png', sizes: '96x96', href: '/images/favicon-96x96.png' },
{ rel: 'icon', type: 'image/png', sizes: '16x16', href: '/images/favicon-16x16.png' },
{ rel: 'manifest', href: '/manifest.json' }
],
script: [
{
src: 'https://cloud.umami.is/script.js',
'data-website-id': 'f60ce998-27d4-421b-98a0-c54d38131290',
defer: true
}
]
}
},
modules: [
'@pinia/nuxt',
'@vueuse/nuxt'
],
serverHandlers: [
{ route: '/.well-known/nostr.json', handler: '~/server/api/nip05.ts' }
],
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: '@use "@/assets/css/_import.scss" as *;'
}
}
}
},
css: [
'@/assets/css/_base.scss'
]
})