-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
50 lines (50 loc) · 1.33 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: false },
runtimeConfig: {
public: {
NUXT_APP_URL: process.env.NUXT_APP_URL,
NUXT_API_URL: process.env.NUXT_API_URL,
},
},
app: {
head: {
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/svg/user-secret.svg' },
{ rel: 'apple-touch-icon', sizes: '152x152', href: '/svg/user-secret.svg' },
{ rel: 'apple-touch-icon', sizes: '120x120', href: '/svg/user-secret.svg' },
{ rel: 'apple-touch-icon', sizes: '76x76', href: '/svg/user-secret.svg' },
],
},
},
modules: [
'@nuxtjs/tailwindcss',
'shadcn-nuxt',
'@nuxtjs/google-fonts',
'@nuxt/image',
'@nuxtjs/i18n',
'@nuxtjs/color-mode',
],
googleFonts: {
families: {
'Poppins': true,
},
display: 'swap',
},
i18n: {
locales: [
{ code: 'en', name: 'English', file: 'en.json' },
{ code: 'pt', name: 'Português', file: 'pt.json' },
{ code: 'es', name: 'Espanhol', file: 'es.json' },
],
defaultLocale: 'pt',
langDir: 'locales/',
strategy: "no_prefix",
},
shadcn: {
prefix: '',
componentDir: './components/ui'
},
})