-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
35 lines (34 loc) · 902 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
// https://nuxt.com/docs/api/configuration/nuxt-config
import { presetUno, presetIcons, transformerDirectives, transformerVariantGroup } from 'unocss'
import { presetDaisy } from 'unocss-preset-daisy'
import svgPlugin from 'vite-plugin-svg'
export default defineNuxtConfig({
modules: [
'@tresjs/nuxt',
'@unocss/nuxt',
[
'@storyblok/nuxt', {
accessToken: import.meta.env.STORYBLOK_TOKEN,
},
],
],
css: ['@unocss/reset/tailwind.css', '@tresjs/leches/styles'],
ssr: false,
unocss: {
presets: [presetUno(), presetIcons({
scale: 1.2,
extraProperties: {
display: 'inline-block',
'vertical-align': 'middle',
// ...
},
}), presetDaisy() ],
transformers: [transformerDirectives(), transformerVariantGroup()],
},
vite: {
plugins: [svgPlugin()],
resolve: {
dedupe: ['three'],
},
},
})