generated from nuxtbase/nuxt3-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathnuxt.config.ts
113 lines (112 loc) · 3.03 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
// https://nuxt.com/docs/api/configuration/nuxt-config
import { defineNuxtConfig } from 'nuxt/config'
export default defineNuxtConfig({
devtools: { enabled: true },
ssr: false,
app: {
head: {
title:
'Stunning UI is a collection of interactive Tailwind CSS components built for Vue and Nuxt.',
link: [{ rel: 'icon', type: 'image/*', href: '/favicon.svg' }],
meta: [
{
property: 'description',
content:
'Stunning UI is a collection of interactive Tailwind CSS components built for Vue and Nuxt.'
},
{
property: 'og:title',
content: 'Create Stunning Websites That Stand Out'
},
{
property: 'og:description',
content:
'Stunning UI is a collection of interactive Tailwind CSS components built for Vue and Nuxt.'
},
{
property: 'og:image',
content: 'https://stunningui.design/preview.png'
},
{ property: 'og:url', content: 'https://stunningui.design' },
{ property: 'og:site_name', content: 'One Tab Group' },
{ property: 'og:image:width', content: '1200' },
{ property: 'og:image:height', content: '900' },
{
property: 'og:logo',
content: 'https://stunningui.design/favicon.png'
},
{
property: 'og:image:alt',
content: 'Create Stunning Websites That Stand Out'
},
{ property: 'twitter:site', content: 'One Tab Group' },
{
property: 'twitter:title',
content: 'Create Stunning Websites That Stand Out'
},
{ property: 'twitter:card', content: 'summary_large_image' },
{
property: 'twitter:description',
content:
'Stunning UI is a collection of interactive Tailwind CSS components built for Vue and Nuxt.'
},
{
property: 'twitter:image:src',
content: 'https://stunningui.design/preview.png'
}
],
script: [
// {
// defer: true,
// 'data-domain': 'stunningui.design',
// src: 'https://plausible.io/js/script.js'
// },
{
src: 'https://analytics.ahrefs.com/analytics.js',
'data-key': 'qSqtlu7jCVHxEHLGIkPtGQ',
defer: true
}
]
}
},
modules: [
'@nuxt/content',
'@pinia/nuxt',
'shadcn-nuxt',
'@nuxtjs/tailwindcss',
'@nuxtjs/color-mode',
'@vueuse/nuxt',
'@vueuse/motion/nuxt',
'nuxt-icon'
],
colorMode: {
classSuffix: ''
},
shadcn: {
/**
* Prefix for all the imported component
*/
prefix: '',
/**
* Directory that the component lives in.
* @default "./components/ui"
*/
componentDir: './components/ui'
},
content: {
documentDriven: true,
highlight: {
theme: {
default: 'vitesse-light',
dark: 'vitesse-dark'
}
}
},
components: {
global: true,
dirs: ['@/components']
},
build: {
transpile: ['vue-sonner']
}
})