forked from nuxtbase/nuxt3-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
41 lines (40 loc) · 920 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
// https://nuxt.com/docs/api/configuration/nuxt-config
import { defineNuxtConfig } from 'nuxt/config'
import ViteComponents from 'unplugin-vue-components/vite'
import IconsResolver from 'unplugin-icons/resolver'
export default defineNuxtConfig({
devtools: { enabled: true },
ssr: false,
app: {
head: {
title: 'A Better Nuxt 3 Starter',
link: [{ rel: 'icon', type: 'image/*', href: '/favicon.svg' }]
}
},
modules: [
'@unocss/nuxt',
'@vue-macros/nuxt',
'@pinia/nuxt',
'unplugin-icons/nuxt',
'@vueuse/nuxt'
],
css: [
'@unocss/reset/tailwind.css',
'@/assets/main.css',
'@/assets/normal.scss',
'@/assets/vxe-cust.scss',
],
vite: {
plugins: [
ViteComponents({
resolvers: [
IconsResolver({
componentPrefix: 'i'
})
],
dts: true
})
]
},
plugins: ['@/plugins/vxe-table'],
})