-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnuxt.config.ts
54 lines (54 loc) · 1.4 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
export default defineNuxtConfig({
site: {
url: 'https://palette-pilot.vercel.app/',
name: 'Palette Pilot - Generate Awesome Color Palette for you UI',
description:
'Explore Palette Pilot magic: transforming your images into color palettes and giving UI ideas. Perfect for creatives',
defaultLocale: 'en'
},
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1'
}
},
nitro: {
storage: {
data: { driver: 'vercelKV' }
}
},
runtimeConfig: {
public: {
baseUrl: import.meta.env.NUXT_PUBLIC_APP_URL
},
kvUrl: import.meta.env.KV_URL,
kvRestApiUrl: import.meta.env.KV_REST_API_URL,
kvRestApiToken: import.meta.env.KV_REST_API_TOKEN,
kvRestApiReadOnlyToken: import.meta.env.KV_REST_API_READ_ONLY_TOKEN,
cloudinaryUrl: import.meta.env.CLOUDINARY_URL,
cloudinaryCloudName: import.meta.env.CLOUDINARY_CLOUD_NAME,
cloudinaryApiKey: import.meta.env.CLOUDINARY_API_KEY,
cloudinaryApiSecret: import.meta.env.CLOUDINARY_API_SECRET
},
modules: [
'@unocss/nuxt',
'nuxt-primevue',
'@nuxtjs/color-mode',
'@nuxtjs/seo'
],
unocss: {
attributify: true
},
css: ['@unocss/reset/tailwind.css'],
colorMode: {
preference: 'system',
fallback: 'dark',
classSuffix: ''
},
devtools: { enabled: true },
primevue: {
directives: {
include: ['Tooltip']
}
}
})