-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnuxt.config.ts
119 lines (118 loc) · 2.69 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
import { defineNuxtConfig } from 'nuxt/config'
import svgLoader from 'vite-svg-loader'
export default defineNuxtConfig({
modules: [
'@nuxt/content',
'@nuxtjs/tailwindcss',
'@pinia/nuxt',
'@pinia-plugin-persistedstate/nuxt',
'@nuxt/image-edge',
'magic-regexp/nuxt',
'nuxt-icon',
'nuxt-lodash',
'@nuxtjs/fontaine',
'@vite-pwa/nuxt',
'@nuxt/devtools',
// '@sidebase/nuxt-auth',
// '@nuxtjs/eslint-module',
// '@nuxtjs/algolia',
// 'nuxt-logrocket',
// '@nuxtjs/i18n',
// '@nuxtjs/device',
// 'nuxt-security',
// '@twicpics/components/nuxt3',
// '@nuxtjs/fontaine',
// '@morev/vue-transitions/nuxt',
],
content: {},
extends: ['nuxt-seo-kit'],
app: {
head: {
meta: [
{
charset: 'utf-8',
},
],
link: [
{
hid: 'apple-touch-icon',
rel: 'apple-touch-icon',
href: '/icon-192x192.png',
},
{ rel: 'manifest', href: '/manifest.json' },
],
viewport:
'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no',
title: 'Instagram',
script: [
// {
// src: `https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1817809598132751`,
// crossorigin: 'anonymous',
// async: true,
// },
// {
// src: '/ads.js',
// },
],
},
keepalive: false,
rootId: '__nuxt',
rootTag: 'div',
},
appConfig: {
analyze: {
analyzerMode: 'static',
},
},
buildDir: '.nuxt',
builder: 'vite',
devServer: {
host: 'localhost',
port: 3000,
},
ssr: true,
css: ['@/assets/scss/index.scss'],
image: {
presets: {},
},
vite: {
plugins: [svgLoader({})],
build: {
chunkSizeWarningLimit: 5000,
},
},
piniaPersistedstate: {
cookieOptions: {
sameSite: 'strict',
},
storage: 'cookies',
},
lodash: {
prefix: '_',
prefixSkip: ['string'],
upperAfterPrefix: false,
exclude: ['map'],
alias: [
['camelCase', 'stringToCamelCase'],
['kebabCase', 'stringToKebab'],
['isDate', 'isLodashDate'],
],
},
experimental: {
reactivityTransform: true,
viewTransition: true,
componentIslands: true,
},
devtools: {
enabled: true,
},
runtimeConfig: {
public: {
siteUrl: 'https://instagram-clone-nuxt3.vercel.app/',
siteName: 'Instagram',
siteDescription: 'Instagram Clone By Cuzknothz',
language: 'en-AU',
titleSeparator: '|',
},
},
})