-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
37 lines (36 loc) · 874 Bytes
/
uno.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
/*
* @Author: NMTuan
* @Email: [email protected]
* @Date: 2024-04-25 09:47:19
* @LastEditTime: 2024-08-26 21:28:59
* @LastEditors: nmtuan [email protected]
* @Description:
* @FilePath: \vueAdmin\uno.config.ts
*/
import {
defineConfig,
presetUno,
presetIcons,
presetAttributify,
transformerDirectives,
transformerVariantGroup,
} from "unocss";
export default defineConfig({
presets: [
presetUno(),
presetAttributify(),
presetIcons({
collections: {
ri: () =>
import("@iconify-json/ri/icons.json").then(
(i) => i.default
),
},
extraProperties: {
display: "block",
},
}),
],
transformers: [transformerDirectives(), transformerVariantGroup()],
safelist: [],
});