-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
80 lines (64 loc) · 1.51 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import path from 'path'
import seo from './constants/seo'
export default defineNuxtConfig({
modules: [
'@pinia/nuxt',
'@nuxtjs/tailwindcss',
'nuxt-primevue',
'@vueuse/nuxt',
'@nuxtjs/supabase',
'@formkit/nuxt',
'@nuxt/image',
'@unlok-co/nuxt-stripe',
'@nuxt/eslint',
'nuxt-icon',
'@nuxtjs/seo',
'@vue-email/nuxt',
],
css: [
'./assets/css/base.css',
'~/node_modules/primeicons/primeicons.css',
],
runtimeConfig: {
url: process.env.NUXT_PUBLIC_URL,
resendApiKey: process.env.RESEND_API_KEY,
stripeWebhook: process.env.STRIPE_WEBHOOK,
public: {
adminPassword: process.env.ADMIN_PASSWORD || 'admin',
},
},
supabase: { redirect: false },
primevue: {
options: { unstyled: true },
importPT: { as: 'Lara', from: path.resolve(__dirname, './presets/lara/') },
},
tailwindcss: {
cssPath: './assets/css/tailwind.css',
viewer: false,
},
imports: { dirs: ['types/*.ts'] },
pinia: { storesDirs: ['./stores/**'] },
stripe: {
server: { key: process.env.STRIPE_SK },
client: { key: process.env.STRIPE_PK },
},
formkit: { configFile: './formkit/config' },
image: { quality: 80 },
eslint: {
config: { stylistic: true },
},
site: {
url: seo.meta.url,
name: seo.meta.name,
description: seo.meta.description,
defaultLocale: 'nl',
},
robots: {
disallow: ['/_nuxt', '/admin'],
},
vueEmail: {
baseUrl: seo.meta.url,
autoImport: true,
},
devtools: { enabled: true },
})