-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
45 lines (45 loc) · 1.37 KB
/
nuxt.config.ts
File metadata and controls
45 lines (45 loc) · 1.37 KB
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: false },
css: ['~/assets/scss/main.scss', 'animate.css/animate.min.css'],
modules: ['@nuxtjs/tailwindcss', 'nuxt-swiper', '@pinia/nuxt', '@nuxtjs/html-validator', '@vueuse/nuxt', 'nuxt-icon', '@nuxtjs/robots', '@tresjs/nuxt'],
app: {
head: {
htmlAttrs: {
lang: 'fr'
},
link: [
{ rel: 'preconnect', href: 'https://rsms.me/' },
{ rel: 'stylesheet', href: 'https://rsms.me/inter/inter.css' },
{ 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' },
{ rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#5bbad5' }
],
meta: [
{ name: 'msapplication-TileColor', content: '#da532c' },
{ name: 'theme-color', content: '#ffffff' }
],
bodyAttrs: {
class: 'light'
}
}
},
tailwindcss: {
configPath: '~/tailwind.config.ts'
},
htmlValidator: {
options: {
rules: {
'no-autoplay': 'off'
}
}
},
robots: {
rules: {
UserAgent: '*',
Disallow: '/'
}
}
})