-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
86 lines (86 loc) · 1.92 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
export default defineNuxtConfig({
runtimeConfig: {
public: {
feedbackURL: process.env.FEEDBACK_URL,
},
MONGO_URL: process.env.MONGO_URL,
OPEN_API_KEY: process.env.OPEN_AI_API_KEY,
},
nitro: {
routeRules: {
'/api/magic': {
proxy: 'http://localhost:3005/api/magic',
},
},
plugins: [
'~/server/index.ts',
],
},
googleFonts: {
families: {
Nunito: {
wght: [100, 400],
ital: [100],
},
},
},
modules: [
'@nuxtjs/tailwindcss',
'@nuxt/image-edge',
'@vueuse/nuxt',
'@nuxtjs/google-fonts',
'@kevinmarrec/nuxt-pwa',
'nuxt-security',
'nuxt-gtag',
],
css: ['@/assets/styles/global.css'],
app: {
// buildAssetsDir: '/assets/',
keepalive: true,
head: {
viewport: 'width=device-width,initial-scale=1,viewport-fit=cover',
bodyAttrs: {
class: 'overflow-x-hidden',
},
link: [
{ rel: 'icon', href: '/favicon.ico', sizes: 'any' },
{ rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' },
],
script: [
{
async: true,
src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4792331156669817',
crossorigin: 'anonymous',
},
],
meta: [
{
name: 'copyright',
content: 'Dytr',
},
],
},
},
security: {},
gtag: {
id: 'G-86S6KJ2B6L',
},
pwa: {
manifest: {
name: 'Dyrt',
short_name: 'Dyrt',
start_url: '/',
lang: 'en',
},
meta: {
title: 'Dyrt - Best AI Writer, Content Generator & Writing Assistant',
favicon: true,
theme_color: '#FFFFFF',
mobileApp: true,
mobileAppIOS: true,
author: 'Dyrt',
ogSiteName: 'Dyrt',
description: 'Write Anything in seconds just like Magick. Powered by AI, let me be your intelligent writing assistant.',
},
},
})