@unocss/astro
The UnoCSS integration for Astro. Check the example.
Installation
npm i -D unocss
import Unocss from 'unocss/astro'
export default {
integrations: [
Unocss({ }),
],
}
Presetless usage
This plugin does not come with any default presets.
If you are building a meta framework on top of UnoCSS, see this file for an example to bind the default presets.
npm i -D @unocss/astro
import Unocss from '@unocss/astro'
export default {
integrations: [
Unocss({
presets: [
],
}),
],
}
for more details, please refer to the Vite plugin.
License
MIT License © 2021-PRESENT Anthony Fu