❗ from v0.0.4 this lib use
lightningcss
to generate css prefixer. Before this version, it usedpostcss-js
pnpm add lightningcss browserslist unocss-preset-autoprefixer -D
import presetUno from '@unocss/preset-uno'
import presetAutoprefixer from 'unocss-preset-autoprefixer'
Unocss({
presets: [
presetUno(),
presetAutoprefixer()
],
})
MIT