-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
43 lines (40 loc) · 874 Bytes
/
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
devtools: { enabled: true },
css: ['~/assets/css/main.css'],
modules: [
'nuxt-icon',
'@pinia/nuxt',
'@nuxt/image',
'nuxt-lodash',
'@vueuse/nuxt',
'dayjs-nuxt',
],
runtimeConfig: {
public: {
apiBaseUrl: process.env.NUXT_PUBLIC_API_URL,
companyToken: process.env.NUXT_PUBLIC_COMPANY_TOKEN,
eventId: process.env.NUXT_PUBLIC_EVENT_ID || '',
},
},
pinia: {
autoImports: ['defineStore'],
},
lodash: {
prefix: '_',
upperAfterPrefix: false,
},
dayjs: {
locales: ['pt-br'],
plugins: ['relativeTime', 'utc', 'timezone'],
defaultLocale: 'pt-br',
defaultTimezone: 'America/Sao_Paulo',
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
})