feat(css): added unocss with attributify preset
This commit is contained in:
committed by
Corentin THOMASSET
parent
4ccd73c2d1
commit
001031b7b5
14
unocss.config.ts
Normal file
14
unocss.config.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import {
|
||||
defineConfig,
|
||||
presetAttributify,
|
||||
presetTypography,
|
||||
presetUno,
|
||||
transformerDirectives,
|
||||
transformerVariantGroup,
|
||||
} from 'unocss';
|
||||
|
||||
export default defineConfig({
|
||||
presets: [presetUno(), presetAttributify(), presetTypography()],
|
||||
transformers: [transformerDirectives(), transformerVariantGroup()],
|
||||
safelist: 'prose prose-sm m-auto text-left'.split(' '),
|
||||
});
|
||||
Reference in New Issue
Block a user