1404/11/04- first
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
import UnoCSS from 'unocss/vite'
|
||||
import { presetAttributify, presetUno } from 'unocss'
|
||||
import transformerDirectives from '@unocss/transformer-directives'
|
||||
import transformerVariantGroup from '@unocss/transformer-variant-group'
|
||||
import transformerCompileClass from '@unocss/transformer-compile-class'
|
||||
//import { presetScrollbarHide } from 'unocss-preset-scrollbar-hide'
|
||||
|
||||
/**
|
||||
* @see https://github.com/unocss/unocss
|
||||
*/
|
||||
export default UnoCSS({
|
||||
presets: [
|
||||
/**
|
||||
* @see https://github.com/unocss/unocss/tree/main/packages/preset-attributify
|
||||
*/
|
||||
presetAttributify({
|
||||
/* preset options */
|
||||
}),
|
||||
/**
|
||||
* @see https://github.com/unocss/unocss/tree/main/packages/preset-uno
|
||||
*/
|
||||
presetUno()
|
||||
/**
|
||||
* @see https://github.com/reslear/unocss-preset-scrollbar-hide
|
||||
*/
|
||||
//presetScrollbarHide()
|
||||
// ...custom presets
|
||||
],
|
||||
transformers: [
|
||||
/**
|
||||
* @see https://github.com/unocss/unocss/tree/main/packages/transformer-directives
|
||||
*/
|
||||
transformerDirectives(),
|
||||
/**
|
||||
* @see https://github.com/unocss/unocss/tree/main/packages/transformer-variant-group
|
||||
*/
|
||||
transformerVariantGroup(),
|
||||
/**
|
||||
* @see https://github.com/unocss/unocss/tree/main/packages/transformer-compile-class/
|
||||
*/
|
||||
transformerCompileClass()
|
||||
]
|
||||
})
|
||||
Reference in New Issue
Block a user