forked from one-tab-group/onetab.group
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
129 lines (122 loc) · 3.78 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
import { defineNuxtConfig } from 'nuxt/config'
import ViteComponents from 'unplugin-vue-components/vite'
import IconsResolver from 'unplugin-icons/resolver'
export default defineNuxtConfig({
app: {
head: {
title: 'One Tab Group: Your all-in-one tab/tab group manager for Chrome.',
viewport:
'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0',
link: [{ rel: 'icon', type: 'image/*', href: '/logo.svg' }],
meta: [
{
property: 'description',
content:
'onetab.group is a chrome extension that allows you to manage your tabs & tab groups in one place. One-click to aggregate all tabs & tab groups into one session.'
},
{
property: 'og:title',
content:
'onetab.group: Your all-in-one tab/tab group manager for Chrome.'
},
{
property: 'og:description',
content:
'onetab.group is a chrome extension that allows you to manage your tabs & tab groups in one place. One-click to aggregate all tabs & tab groups into one session.'
},
{ property: 'og:image', content: 'https://onetab.group/preview.jpg' },
{ property: 'og:url', content: 'https://onetab.group' },
{ property: 'og:site_name', content: 'One Tab Group' },
{ property: 'og:image:width', content: '1200' },
{ property: 'og:image:height', content: '900' },
{
property: 'og:image:alt',
content:
'One Tab Group is a chrome extension that allows you to manage your tabs & tab groups in one place. One-click to aggregate all tabs & tab groups into one session.'
},
{ property: 'twitter:site', content: 'One Tab Group' },
{
property: 'twitter:title',
content:
'One Tab Group: Your all-in-one tab/tab group manager for Chrome.'
},
{ property: 'twitter:card', content: 'summary_large_image' },
{
property: 'twitter:description',
content:
'One Tab Group is a chrome extension that allows you to manage your tabs & tab groups in one place. One-click to aggregate all tabs & tab groups into one session.'
},
{
property: 'twitter:image:src',
content: 'https://onetab.group/preview.jpg'
},
{
name: 'saashub-verification',
content: 'k79blugjtfoo'
}
],
script: [
{
async: true,
defer: true,
'data-website-id': process.env.UMAMI_WEBSITE_ID,
src: 'https://analytics.onetab.group/umami.js'
},
{
defer: true,
src: 'https://widget.senja.io/embed/frame.js'
}
]
}
},
modules: [
'nuxt-windicss',
'@pinia/nuxt',
'unplugin-icons/nuxt',
'@vueuse/nuxt',
'@nuxt/content',
'@nuxtjs/supabase',
'@nuxtjs/robots'
],
components: {
global: true,
dirs: ['~/components']
},
vite: {
plugins: [
ViteComponents({
resolvers: [
IconsResolver({
componentPrefix: ''
})
],
dts: true
})
]
},
nitro: {
prerender: {
routes: ['/sitemap.xml', '/feed.xml']
}
},
// https://content.nuxtjs.org
content: {
navigation: {
fields: ['navTitle']
},
highlight: {
// See the available themes on https://github.com/shikijs/shiki/blob/main/docs/themes.md#all-theme
theme: 'dracula'
},
documentDriven: true
},
runtimeConfig: {
public: {
EMAIL_USER: process.env.EMAIL_USER,
EMAIL_PASSWORD: process.env.EMAIL_PASSWORD,
SUPABASE_URL: process.env.SUPABASE_URL,
SUPABASE_KEY: process.env.SUPABASE_KEY,
CHATWOOT_WEBSITE_TOKEN: process.env.CHATWOOT_WEBSITE_TOKEN
}
}
})