generated from nuxtbase/nuxt3-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
nuxt.config.ts
92 lines (91 loc) · 2.74 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
import { defineNuxtConfig } from 'nuxt/config'
import ViteComponents from 'unplugin-vue-components/vite'
import IconsResolver from 'unplugin-icons/resolver'
export default defineNuxtConfig({
app: {
head: {
title: 'bookmark.style: stylish your visual web bookmark',
viewport:
'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0',
link: [{ rel: 'icon', type: 'image/*', href: '/favicon.svg' }],
meta: [
{
property: 'og:title',
content: 'bookmark.style: stylish your visual web bookmark'
},
{
property: 'og:description',
content:
'🪄 Turn any link into a stylish visual web bookmark, one-click to copy the beautiful web bookmark image.'
},
{ property: 'og:image', content: 'https://bookmark.style/preview.png' },
{ property: 'og:url', content: 'https://bookmark.style' },
{ property: 'og:site_name', content: 'Bookmark Style' },
{ property: 'og:image:width', content: '1200' },
{ property: 'og:image:height', content: '900' },
{
property: 'og:image:alt',
content:
'🪄 Turn any link into a stylish visual web bookmark, one-click to copy the beautiful web bookmark image.'
},
{ property: 'twitter:site', content: 'Bookmark Style' },
{
property: 'twitter:title',
content: 'bookmark.style: stylish your visual web bookmark'
},
{ property: 'twitter:card', content: 'summary_large_image' },
{
property: 'twitter:description',
content:
'🪄 Turn any link into a stylish visual web bookmark, one-click to copy the beautiful web bookmark image.'
},
{
property: 'twitter:image:src',
content: 'https://bookmark.style/preview.png'
}
],
script: [
{
async: true,
defer: true,
'data-domain': 'bookmark.style',
src: 'https://plausible.io/js/script.js'
},
{
defer: true,
'data-key': 'wyrtuR2TisSg6v6gGW/r/A',
src: 'https://analytics.ahrefs.com/analytics.js'
}
]
}
},
modules: [
'nuxt-windicss',
'@pinia/nuxt',
'unplugin-icons/nuxt',
'@vueuse/nuxt'
],
components: {
global: true,
dirs: ['~/components']
},
vite: {
plugins: [
ViteComponents({
resolvers: [
IconsResolver({
componentPrefix: ''
})
],
dts: true
})
]
},
runtimeConfig: {
public: {
NODE_ENV: process.env.NODE_ENV,
CHATWOOT_WEBSITE_TOKEN: process.env.CHATWOOT_WEBSITE_TOKEN,
UMAMI_WEBSITE_ID: process.env.UMAMI_WEBSITE_ID
}
}
})