-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
41 lines (33 loc) · 849 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
import tailwindcss from '@tailwindcss/vite'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: {
enabled: true,
},
modules: [
'@nuxt/icon',
'@nuxt/image',
'@vue-final-modal/nuxt',
],
app: {
head: {
link: [
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
{ rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png' },
{ rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' },
{ rel: 'manifest', href: '/site.webmanifest' },
],
},
},
css: ['~/assets/css/tailwind.css'],
icon: {
clientBundle: { scan: true },
},
image: {
dir: 'assets/images',
},
vite: {
plugins: [tailwindcss()],
},
})