-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
55 lines (48 loc) · 1.19 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
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
typescript: {
strict: true,
},
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
title: 'Nuxt 3 starter template with TailwindCSS',
meta: [
{
name: 'description',
content:
'A starter template built using Nuxt 3, TailwindCSS, VueUse, Nuxt-image, HeadlessUI, Eslint, Prettier, etc.',
},
],
script: [],
link: [],
style: [],
htmlAttrs: {
class: 'h-full antialiased',
},
bodyAttrs: {
class: 'h-full',
},
},
},
modules: [
// https://tailwindcss.nuxtjs.org/
'@nuxtjs/tailwindcss',
// https://github.com/P4sca1/nuxt-headlessui/
'nuxt-headlessui',
// https://vueuse.org/
'@vueuse/nuxt',
// https://v1.image.nuxtjs.org/
'@nuxt/image-edge',
],
// https://github.com/P4sca1/nuxt-headlessui
headlessui: {
// All the Headless components are auto imported and prefixed by 'Headless'
// Ex: HeadlessPopover
prefix: 'Headless',
},
imports: {
dirs: ['stores', 'features/**/stores'],
},
})