-
Notifications
You must be signed in to change notification settings - Fork 4
/
nuxt.config.ts
124 lines (112 loc) · 2.87 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
export default defineNuxtConfig({
app: {
head: {
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
],
title: 'Vuestic Admin — Vue 3 admin template',
meta: [
{ charset: 'utf-8' },
{ name: 'theme-color', content: '#154EC1' },
{ 'http-equiv': 'X-UA-Compatible', content: 'IE=edge' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1.0, minimum-scale=1.0' },
{
hid: 'description',
name: 'description',
content: 'Vuestic Admin is a modern admin template utilizing Vue 3, Vite, Pinia, and Tailwind CSS'
},
{
vmid: 'keywords',
name: 'keywords',
content: 'vue, vue components, vuestic admin, vuestic, vuestic-ui, component framework'
},
{
vmid: 'og:description',
property: "og:description",
content: 'Vuestic Admin is a modern admin template utilizing Vue 3, Vite, Pinia, and Tailwind CSS'
},
{
vmid: 'og:image',
property: "og:image",
content: 'https://raw.githubusercontent.com/epicmaxco/vuestic-ui/develop/.github/assets/vuestic-ui-social.png'
},
{
vmid: 'og:site_name',
property: "og:site_name",
content: 'Vuestic Admin'
},
{
vmid: 'og:title',
property: "og:title",
content: 'Vuestic Admin — Vue 3 admin template'
},
{
vmid: 'og:type',
property: "og:type",
content: 'website'
},
{
vmid: 'twitter:card',
property: 'twitter:card',
content: 'https://raw.githubusercontent.com/epicmaxco/vuestic-ui/develop/.github/assets/vuestic-ui-social.png'
},
{
vmid: 'twitter:domain',
property: 'twitter:domain',
content: 'https://admin-demo.vuestic.dev/dashboard'
},
{
vmid: 'twitter:site',
property: 'twitter:site',
content: 'Vuestic Admin'
},
]
},
},
modules: [
'@vuestic/nuxt',
'@nuxtjs/google-fonts',
'@zadigetvoltaire/nuxt-gtm'
],
googleFonts: {
families: {
Inter: [400, 600, 700],
},
display: 'swap',
},
vuestic: {
config: {
breakpoint: {
bodyClass: false,
thresholds: {
xs: 0,
sm: 640,
md: 1108,
lg: 1440,
xl: 1920,
},
},
},
css: ['typography'],
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
css: ['~/assets/css/main.css'],
ssr: true,
nitro: {
compressPublicAssets: true,
},
gtm: {
id: process.env.GTM_ID,
enabled: process.env.GTM_ENABLED,
},
runtimeConfig: {
public: {
RECAPTCHA_SITE_KEY: process.env.RECAPTCHA_SITE_KEY,
},
},
})