-
Notifications
You must be signed in to change notification settings - Fork 3
/
nuxt.config.ts
59 lines (52 loc) · 1.17 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
title: 'Ceritain | Otakuline.id',
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
htmlAttrs: {
lang: 'id',
},
link: [
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
{ rel: 'icon', sizes: '32x32', href: '/favicon-32x32.png' },
{ rel: 'icon', sizes: '16x16x', href: '/favicon-16x16.png' },
{ rel: 'manifest', href: '/site.webmanifest' },
],
}
},
modules: [
'@pinia/nuxt',
'@nuxtjs/tailwindcss',
'nuxt-icon',
'@nuxt/image',
],
tailwindcss: {
cssPath: '~/assets/css/tailwind.css',
configPath: '~/config/tailwind.ts',
viewer: false
},
pinia: {
autoImports: [
'storeToRefs',
'defineStore'
]
},
appConfig: {
baseApi: process.env.APP_API,
otakuLineApi: process.env.OTAKULINE_API
},
devtools: {
enabled: true
},
imports: {
dirs: ['stores']
},
image: {
domains: ['drive.otakuline.id'],
alias: {
otakuline: 'https://drive.otakuline.id',
},
}
})