-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
48 lines (47 loc) · 1.14 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
import { unoCssReset } from './unocss.config'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: true,
extends: [
'nuxt-seo-kit',
],
app: {
pageTransition: { name: 'page', mode: 'out-in' },
},
runtimeConfig: {
public: {
siteUrl: process.env.NUXT_PUBLIC_SITE_URL || 'https://example.com',
siteName: 'Awesome Site',
siteDescription: 'Welcome to my awesome site!',
titleSeparator: '|',
language: 'en', // prefer more explicit language codes like `en-GB` over `en`
trailingSlash: false, // forces trailing slashes on server side routes and sitemap
linkChecker: {
failOn404: true, // fail build on any internal 404s
},
compress: true,
gzip: true,
},
},
modules: [
'@nuxt/content',
'@nuxt/image-edge',
'@nuxtjs/color-mode',
'@unlighthouse/nuxt',
'@unocss/nuxt',
'@vueuse/nuxt',
'nuxt-gtag',
'nuxt-headlessui',
'unplugin-icons/nuxt',
],
css: [
unoCssReset,
'~/assets/styles/main.css',
],
colorMode: {
classSuffix: '',
},
headlessui: {
prefix: 'Headless',
},
})