-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
71 lines (61 loc) · 1.49 KB
/
nuxt.config.ts
File metadata and controls
71 lines (61 loc) · 1.49 KB
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
import tailwindcss from "@tailwindcss/vite";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2025-07-15",
devtools: { enabled: true },
devServer: {
port: 9876,
},
modules: [
"@nuxt/eslint",
"@nuxt/fonts",
"@nuxt/icon",
"@nuxtjs/color-mode",
"motion-v/nuxt",
"@vueuse/nuxt",
"@pinia/nuxt",
"nuxt-og-image",
"@nuxt/test-utils/module",
"@yuta-inoue-ph/nuxt-vcalendar",
"@vee-validate/nuxt",
"vue-sonner/nuxt"
],
imports: {
imports: [
{ from: "tailwind-variants", name: "tv" },
{ from: "tailwind-variants", name: "VariantProps", type: true },
{
from: "vue-sonner",
name: "toast",
as: "useSonner",
},
],
},
site: {
url: process.env.PUBLIC_URL || "https://counter.uithing.com/",
name: "Counter - UI Thing Starter",
},
colorMode: { classSuffix: "", storageKey: "ui-thing-starter-color-mode" },
icon: {
clientBundle: { scan: true, sizeLimitKb: 0 },
mode: "svg",
class: "shrink-0",
fetchTimeout: 2000,
serverBundle: "local",
},
css: ["~/assets/css/tailwind.css"],
vite: {
plugins: [tailwindcss()],
},
app: {
head: {
script: [{
src: "https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.2.12/pdfmake.min.js",
defer: true,
}, {
src: "https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.2.12/vfs_fonts.min.js",
defer: true,
}],
},
},
});