-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
43 lines (41 loc) · 1.04 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
import { SITE_DESCRIPTION, SITE_NAME, SITE_TITLE, SITE_URL } from "./app/utils/seo.js";
export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
devtools: { enabled: true },
future: { compatibilityVersion: 4 },
modules: [
"@nuxtjs/tailwindcss",
"@nuxtjs/color-mode",
"@vueuse/nuxt",
"@nuxt/icon",
"@morev/vue-transitions/nuxt",
"v-wave/nuxt",
"@vee-validate/nuxt",
"@nuxtjs/seo",
],
tailwindcss: { exposeConfig: true, editorSupport: true },
colorMode: { classSuffix: "", preference: "light" },
imports: {
imports: [
{ from: "tailwind-variants", name: "tv" },
{ from: "tailwind-variants", name: "VariantProps", type: true },
],
},
icon: {
customCollections: [
{ prefix: "cui", dir: "./app/assets/icons/untitled-icons", height: 24, width: 24 },
],
},
app: {
head: {
title: SITE_TITLE,
titleTemplate: `%s | ${SITE_NAME}`,
},
},
site: {
url: SITE_URL,
name: SITE_NAME,
description: SITE_DESCRIPTION,
defaultLocale: "en",
},
});