-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
78 lines (77 loc) · 1.76 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
css: [
'~/assets/css/main.css',
'primevue/resources/themes/lara-light-blue/theme.css',
'@fortawesome/fontawesome-svg-core/styles.css',
'primeicons/primeicons.css',
],
modules: ['nuxt-primevue', '@nuxtjs/i18n', 'nuxt-vue3-google-signin'],
googleSignIn: {
clientId: '986843791144-8ep38s50blm3n4tmguk5aahi5touom0o.apps.googleusercontent.com',
},
i18n: {
strategy: 'no_prefix',
vueI18n: './i18n.config.ts',
langDir: './lang',
lazy: true,
locales: [
{
code: 'es',
file: 'es.json',
},
{
code: 'ca',
file: 'ca.json',
},
{
code: 'en',
file: 'en.json',
},
{
code: 'fr',
file: 'fr.json',
},
{
code: 'nl',
file: 'nl.json',
},
],
},
primevue: {
usePrimeVue: true,
options: {
ripple: true,
},
components: {
include: '*',
},
cssLayerOrder: 'tailwind-base, primevue, tailwind-utilities',
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
devServer: {
port: 8000,
},
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
title: "Country Club Pals",
script: [
{
src: 'https://www.paypal.com/sdk/js?client-id=BAAvM3hP8mb481aadBMRwILVlKb_DgNIpsDCbXwELna7Nu6tbpjvm89TkMS3KldzyrRUE3AkT9QV70OUo8&components=hosted-buttons&disable-funding=venmo¤cy=EUR',
crossorigin: 'anonymous',
async: true
}
]
}
},
ssr: false,
})