-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
65 lines (56 loc) · 1.2 KB
/
Copy pathnuxt.config.ts
File metadata and controls
65 lines (56 loc) · 1.2 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
// https://nuxt.com/docs/api/configuration/nuxt-config
import tailwindcss from '@tailwindcss/vite'
export default defineNuxtConfig({
compatibilityDate: "2025-03-24",
app: {
head: {
title: "PickPic",
meta: [
{
name: "description",
content: "Seamless Image Exploration & Markdown Generation.",
},
{
name: "og:image",
content: import.meta.env.NUXT_APP_URL + "/og-image.jpg",
},
{
name: "twitter:image",
content: import.meta.env.NUXT_APP_URL + "/og-image.jpg",
},
],
},
},
css: ['~/assets/css/tailwind.css'],
devtools: { enabled: true },
modules: [
"@nuxt/icon",
"@nuxt/image",
"@nuxt/fonts",
"shadcn-nuxt",
"@vueuse/nuxt",
"@nuxt/content",
],
runtimeConfig: {
unsplashAccessKey: import.meta.env.UNSPLASH_ACCESS_KEY,
public: {
appUrl: import.meta.env.NUXT_APP_URL,
},
},
routeRules: {
'/history': { ssr: false },
},
shadcn: {
prefix: "",
componentDir: "@/components/ui",
},
experimental: {
asyncContext: true,
typedPages: true,
},
vite: {
plugins: [
tailwindcss(),
],
},
});